Waavi\Translation\Test\TestCase::setUp PHP Метод

setUp() публичный Метод

public setUp ( )
    public function setUp()
    {
        parent::setUp();
        //$this->app['cache']->clear();
        $this->setUpDatabase($this->app);
        $this->setUpRoutes($this->app);
    }

Usage Example

 public function setUp()
 {
     // During the parent's setup, both a 'es' 'Spanish' and 'en' 'English' languages are inserted into the database.
     parent::setUp();
     $this->languageRepository = \App::make(LanguageRepository::class);
     $this->translationRepository = \App::make(TranslationRepository::class);
 }
All Usage Examples Of Waavi\Translation\Test\TestCase::setUp