public function __construct(IRepositoryContainer $model) { parent::__construct($model); /** @var Repository $model */ $this->cache = $model->getCache(); }