src/mako/syringe/Container.php
public function registerInstance($hint, object $instance): void
	{
		$this->instances[$this->parseHint($hint)] = $instance;
	}
public function registerInstance($hint, object $instance): void
	{
		$this->instances[$this->parseHint($hint)] = $instance;
	}
public function registerInstance ( $ hint , object $ instance ) : void { $ this -> instances [ $ this -> parseHint ( $ hint ) ] = $ instance ; }
Register a singleton instance.

@param string|array $hint     Type hint or array contaning both type hint and alias
@param object       $instance Class instance
Register a singleton instance .