protected function getFrameworkInstance(ReflectionClass $parameterClass)
    {
        if ($parameterClass->name == 'Zepi\\Turbo\\Framework') {
            return $this->framework;
        }
        
        if ($parameterClass->name == 'Zepi\\Turbo\\Request\\RequestAbstract') {
            return $this->framework->getRequest();
        }
        
        if ($parameterClass->name == 'Zepi\\Turbo\\Response\\Response') {
            return $this->framework->getResponse();
        }
        
        if ($parameterClass->getNamespaceName() === 'Zepi\\Turbo\\Manager') {
            return $this->getFrameworkManager($parameterClass->name);
        }
    }
protected function getFrameworkInstance(ReflectionClass $parameterClass)
    {
        if ($parameterClass->name == 'Zepi\\Turbo\\Framework') {
            return $this->framework;
        }
        
        if ($parameterClass->name == 'Zepi\\Turbo\\Request\\RequestAbstract') {
            return $this->framework->getRequest();
        }
        
        if ($parameterClass->name == 'Zepi\\Turbo\\Response\\Response') {
            return $this->framework->getResponse();
        }
        
        if ($parameterClass->getNamespaceName() === 'Zepi\\Turbo\\Manager') {
            return $this->getFrameworkManager($parameterClass->name);
        }
    }
protected function getFrameworkInstance ( ReflectionClass $ parameterClass ) { if ( $ parameterClass -> name == 'Zepi\\Turbo\\Framework' ) { return $ this -> framework ; } if ( $ parameterClass -> name == 'Zepi\\Turbo\\Request\\RequestAbstract' ) { return $ this -> framework -> getRequest ( ) ; } if ( $ parameterClass -> name == 'Zepi\\Turbo\\Response\\Response' ) { return $ this -> framework -> getResponse ( ) ; } if ( $ parameterClass -> getNamespaceName ( ) === 'Zepi\\Turbo\\Manager' ) { return $ this -> getFrameworkManager ( $ parameterClass -> name ) ; } }
Returns the instance for the given class if the class path
starts with Zepi\Turbo.

@param \ReflectionClass $parameterClass
@return object
Returns the instance for the given class if the class path starts with Zepi \ Turbo .