src/Dispatch/Dispatcher.php
public function setApplication(Application $app)
    {
        $this
            ->setVariable('app', $app)
            ->setVariable('path_config', $app->pathConfig)
            ->setVariable('i18n', $app->i18n);

        try
        {
            $this->setVariable('db', $app->db);
        }
        catch (\Wedeto\DB\Exception\ConfigurationException $db)
        {}
        return $this;
    }
public function setApplication(Application $app)
    {
        $this
            ->setVariable('app', $app)
            ->setVariable('path_config', $app->pathConfig)
            ->setVariable('i18n', $app->i18n);

        try
        {
            $this->setVariable('db', $app->db);
        }
        catch (\Wedeto\DB\Exception\ConfigurationException $db)
        {}
        return $this;
    }
public function setApplication ( Application $ app ) { $ this -> setVariable ( 'app' , $ app ) -> setVariable ( 'path_config' , $ app -> pathConfig ) -> setVariable ( 'i18n' , $ app -> i18n ) ; try { $ this -> setVariable ( 'db' , $ app -> db ) ; } catch ( \ Wedeto \ DB \ Exception \ ConfigurationException $ db ) { } return $ this ; }
Set the application instance
@param Application $app The Application instance
@return Dispatcher Provides fluent interface
Set the application instance