Пример #1
0
<?php

if (Laravel\Request::cli()) {
    Laravel\Request::set_env(getenv('comspec') ? 'local' : 'production');
}
Laravel\Bundle::start('plarx');
Пример #2
0
 public function setup()
 {
     Laravel\Request::set_env('test');
     Laravel\CLI\Command::run(array('sync:minimal'));
 }