/** * {@inheritDoc} */ public function getActions() { if (null !== $this->actionCollection) { return $this->actionCollection; } $this->actionCollection = $this->loader->loadActions(); return $this->actionCollection; }
/** * {@inheritDoc} */ public function loadActions() { $actions = $this->cache->get($this->key); if ($actions) { return $actions; } $actions = $this->loader->loadActions(); $this->cache->set($this->key, $actions); return $actions; }