/**
  * This constructor will receive by dependency injection a instance of AnimalConsultaRepository and DatabaseManager.
  *
  * @param AnimalConsultaRepository $repository
  * @param DatabaseManager $db
  */
 public function __construct(AnimalConsultaRepository $repository, DatabaseManager $db)
 {
     parent::__construct($repository, $db);
     $this->datasetEngine = new DatasetEngine($this);
 }
Example #2
0
 /**
  * This constructor will receive by dependency injection a instance of UsuarioRepository and DatabaseManager.
  *
  * @param UsuarioRepository $repository
  * @param DatabaseManager $db
  */
 public function __construct(UsuarioRepository $repository, DatabaseManager $db, Guard $guard)
 {
     parent::__construct($repository, $db);
     $this->guard = $guard;
 }
Example #3
0
 /**
  * This constructor will receive by dependency injection a instance of ProdutoRepository and DatabaseManager.
  *
  * @param ProdutoRepository $repository
  * @param DatabaseManager $db
  */
 public function __construct(ProdutoRepository $repository, DatabaseManager $db)
 {
     parent::__construct($repository, $db);
 }
 /**
  * This constructor will receive by dependency injection a instance of AnimalConsultaRepository and DatabaseManager.
  *
  * @param AnimalConsultaRepository $repository
  * @param DatabaseManager $db
  */
 public function __construct(AnimalConsultaRepository $repository, DatabaseManager $db)
 {
     parent::__construct($repository, $db);
 }