You are here

public function Container::setSpecs in Little helpers 7.2

Add specs to the registry.

Existing specs with the same name are overridden.

Parameters

array $specs: The specs to add.

File

src/Services/Container.php, line 148

Class

Container
Dependency injection container.

Namespace

Drupal\little_helpers\Services

Code

public function setSpecs(array $specs) {
  $this->specs = array_replace($this->specs, $this
    ->processInfo($specs));
}