Nestable\Tests\TestCase::getEnvironmentSetUp PHP Method

getEnvironmentSetUp() protected method

Define environment setup.
protected getEnvironmentSetUp ( Illuminate\Foundation\Application $app )
$app Illuminate\Foundation\Application
    protected function getEnvironmentSetUp($app)
    {
        $app['router']->get('category/{slug}', ['as' => 'category', 'uses' => function () {
            return 'hello world';
        }]);
    }