public function __construct(Gate $gate, Repository $cache) { $this->gate = $gate; $this->cache = $cache; }