Exemple #1
0
 /**
  * Creates a new instance of the model.
  *
  * @param array $attributes
  */
 public function __construct(array $attributes = [])
 {
     parent::__construct($attributes);
     $this->table = Config::get('entrust.roles_table');
 }
Exemple #2
0
 public function __construct(array $attributes = [])
 {
     parent::__construct($attributes);
     $this->fileModel = new AttachmentFile();
     $this->_config = config('attachment');
 }