protected function registerBindings(array $bindings)
	{
		foreach($bindings as $binding)
		{
			$this->bindings[(string)$binding] = $binding;
				
			foreach($binding->getMarkers() as $marker)
			{
				$marker = get_class($marker);
		
				if(empty($this->markers[$marker]))
				{
					$this->markers[$marker] = new \SplObjectStorage();
				}
		
				$this->markers[$marker]->attach($binding);
			}
		}
	}
protected function registerBindings(array $bindings)
	{
		foreach($bindings as $binding)
		{
			$this->bindings[(string)$binding] = $binding;
				
			foreach($binding->getMarkers() as $marker)
			{
				$marker = get_class($marker);
		
				if(empty($this->markers[$marker]))
				{
					$this->markers[$marker] = new \SplObjectStorage();
				}
		
				$this->markers[$marker]->attach($binding);
			}
		}
	}
protected function registerBindings ( array $ bindings ) { foreach ( $ bindings as $ binding ) { $ this -> bindings [ ( string ) $ binding ] = $ binding ; foreach ( $ binding -> getMarkers ( ) as $ marker ) { $ marker = get_class ( $ marker ) ; if ( empty ( $ this -> markers [ $ marker ] ) ) { $ this -> markers [ $ marker ] = new \ SplObjectStorage ( ) ; } $ this -> markers [ $ marker ] -> attach ( $ binding ) ; } } }
Register the given bindings with the container and prepare markers.

@param array<Binding> $bindings
Register the given bindings with the container and prepare markers .