Robo\Robo::application PHP Method

application() public static method

public static application ( ) : Robo\Application
return Robo\Application
    public static function application()
    {
        return static::service('application');
    }

Usage Example

Esempio n. 1
0
 public function init($input, $output, $appName = null, $appVersion = null)
 {
     // If we were not provided a container, then create one
     if (!Robo::hasContainer()) {
         Robo::createDefaultContainer($input, $output, $appName, $appVersion);
         // Automatically register a shutdown function and
         // an error handler when we provide the container.
         $this->installRoboHandlers();
     }
     $app = Robo::application();
     $this->registerRoboFileCommands($app);
     return $app;
 }
All Usage Examples Of Robo\Robo::application