protected function setUp() { parent::setUp(); $this->manager = new \Ytake\LaravelAspect\AspectManager($this->app); $this->resolveManager(); $this->command = new \Ytake\LaravelAspect\Console\ClearCacheCommand($this->app['config'], $this->app['files']); $this->command->setLaravel(new MockApplication()); }
protected function setUp() { parent::setUp(); $this->manager = new \Ytake\LaravelAspect\AspectManager($this->app); $this->resolveManager(); $this->log = $this->app['Psr\\Log\\LoggerInterface']; $this->file = $this->app['files']; if (!$this->app['files']->exists($this->getDir())) { $this->app['files']->makeDirectory($this->getDir()); } }
protected function setUp() { parent::setUp(); $this->manager = new \Ytake\LaravelAspect\AspectManager($this->app); $this->resolveManager(); }
public function setUp() { parent::setUp(); $this->file = $this->app['files']; }
public function setUp() { parent::setUp(); $aspectConfigure = $this->app['config']->get('ytake-laravel-aop.aspect.drivers'); $this->kernel = new \Ytake\LaravelAspect\RayAspectKernel($this->app, $this->app['files'], $aspectConfigure['ray']); }