Пример #1
0
 public function __construct()
 {
     parent::__construct();
     // @todo handle this better
     $adminUserId = 1;
     $this->client = Client::factory();
     $this->importer = new ConferenceImporter($adminUserId);
 }
 public function __construct($authorId = null)
 {
     $this->client = Client::factory();
     $this->authorId = $authorId ?: \Auth::user()->id;
 }