/** * (non-PHPdoc) * * @see \Frametek\Interfaces\Runnable::run() */ public function run() { if (!$this->_app) { throw \Exception("You have to define the application before call!"); } $container = $this->_app->container(); $this->_configs = $container->resolve('config'); $this->useContainer($container); return $this->call(); }
public function __construct() { parent::__construct(); $this->_singletons['config']['args'] = ["tests/Persistent/config"]; unset($this->_singletons['http_session']); }