public function getApplication()
    {
        $application = $this->application;

        if ($application instanceof Closure) {
            return $application();
        } elseif (is_string($application)) {
            /** @noinspection PhpIncludeInspection */
            return require $application;
        }

        return $application;
    }
public function getApplication()
    {
        $application = $this->application;

        if ($application instanceof Closure) {
            return $application();
        } elseif (is_string($application)) {
            /** @noinspection PhpIncludeInspection */
            return require $application;
        }

        return $application;
    }
public function getApplication ( ) { $ application = $ this -> application ; if ( $ application instanceof Closure ) { return $ application ( ) ; } elseif ( is_string ( $ application ) ) { /** @noinspection PhpIncludeInspection */ return require $ application ; } return $ application ; }
Get Phalcon Application

@return Application|MicroApplication
Get Phalcon Application