public function setup() { $router = new \Lucid\Component\Router\Router(); $config = new \Lucid\Component\Container\Container(); $config->set('root', realpath(__DIR__ . '/app/')); $factory = new \Lucid\Component\Factory\Factory(null, $config); $this->queue = new Queue(null, $router, $factory); }
public function setup() { $config = new \Lucid\Component\Container\Container(); $config->set('root', realpath(__DIR__ . '/app/')); $this->factory = new Factory(null, $config); }