original_string: public static function getInstance(DIContainer $container = null)
  	{
  		static $instance = null;
  
  		if ( null === $instance ) {
  			$instance = new static($container);
  		}
  
  		return $instance;
  	}
code: public static function getInstance(DIContainer $container = null)
  	{
  		static $instance = null;
  
  		if ( null === $instance ) {
  			$instance = new static($container);
  		}
  
  		return $instance;
  	}
code_tokens: public static function getInstance ( DIContainer $ container = null ) { static $ instance = null ; if ( null === $ instance ) { $ instance = new static ( $ container ) ; } return $ instance ; }
docstring: Returns instance of strategy manager.
  
  @param DIContainer $container Dependency injection container.
  
  @return self
docstring_tokens: Returns instance of strategy manager .