public function __construct(AbstractProvider $provider, $attributes, \Closure $filter = null)
 {
     parent::__construct($provider);
     $this->filter = $filter;
     $this->attributes = $attributes;
 }
 public function __construct(AbstractProvider $provider, array $attributeByType)
 {
     parent::__construct($provider);
     $this->attributeByType = $attributeByType;
     $this->init();
 }
 /**
  * @param AbstractProvider $provider
  * @param string $table
  */
 public function __construct(AbstractProvider $provider, $table)
 {
     parent::__construct($provider);
     $this->table = $table;
 }
 public function __construct(AbstractProvider $provider, \Closure $filter = null)
 {
     parent::__construct($provider);
     $this->filter = $filter;
 }