Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     // @todo handle this better
     $adminUserId = 1;
     $this->client = Client::factory();
     $this->importer = new ConferenceImporter($adminUserId);
 }
Ejemplo n.º 2
0
 public function __construct($authorId = null)
 {
     $this->client = Client::factory();
     $this->authorId = $authorId ?: \Auth::user()->id;
 }