protected function getInstance(ReflectionClass $parameterClass)
    {
        if (!class_exists($parameterClass->name, true)) {
            return null;
        }
        
        if (strpos($parameterClass->name, 'Zepi\\Turbo\\') === 0) {
            return $this->getFrameworkInstance($parameterClass);
        }
        
        if ($parameterClass->isInstantiable()) {
            return $this->framework->getInstance($parameterClass->name);
        }
    }
protected function getInstance(ReflectionClass $parameterClass)
    {
        if (!class_exists($parameterClass->name, true)) {
            return null;
        }
        
        if (strpos($parameterClass->name, 'Zepi\\Turbo\\') === 0) {
            return $this->getFrameworkInstance($parameterClass);
        }
        
        if ($parameterClass->isInstantiable()) {
            return $this->framework->getInstance($parameterClass->name);
        }
    }
protected function getInstance ( ReflectionClass $ parameterClass ) { if ( ! class_exists ( $ parameterClass -> name , true ) ) { return null ; } if ( strpos ( $ parameterClass -> name , 'Zepi\\Turbo\\' ) === 0 ) { return $ this -> getFrameworkInstance ( $ parameterClass ) ; } if ( $ parameterClass -> isInstantiable ( ) ) { return $ this -> framework -> getInstance ( $ parameterClass -> name ) ; } }
Returns the instance for the given class

@param \ReflectionClass $parameterClass
@return null|object
Returns the instance for the given class