src/mako/syringe/Container.php
protected function replaceInstances(string $hint): void
	{
		if(isset($this->replacers[$hint]))
		{
			$instance = $this->get($hint);

			foreach($this->replacers[$hint] as $replacer)
			{
				$replacer($instance);
			}
		}
	}
protected function replaceInstances(string $hint): void
	{
		if(isset($this->replacers[$hint]))
		{
			$instance = $this->get($hint);

			foreach($this->replacers[$hint] as $replacer)
			{
				$replacer($instance);
			}
		}
	}
protected function replaceInstances ( string $ hint ) : void { if ( isset ( $ this -> replacers [ $ hint ] ) ) { $ instance = $ this -> get ( $ hint ) ; foreach ( $ this -> replacers [ $ hint ] as $ replacer ) { $ replacer ( $ instance ) ; } } }
Replaces previously resolved instances.

@param string $hint Type hint
Replaces previously resolved instances .