__construct() public method

public __construct ( Illuminate\Container\Container $app, Collection $collection )
$app Illuminate\Container\Container
$collection Illuminate\Support\Collection
Example #1
0
 /**
  * @param App $app
  * @param Collection $collection
  * @throws \Bosnadev\Repositories\Exceptions\RepositoryException
  */
 public function __construct(App $app, Collection $collection)
 {
     parent::__construct($app, $collection);
     $this->_cache = $this->getCache();
 }