cache = $cache; $this->columnMoveRestrictionModel = $columnMoveRestrictionModel; } /** * Proxy method to get column Ids * @param int $project_id * @return array|mixed */ public function getAllSrcColumns($project_id) { $key = $this->cachePrefix.$project_id; $columnIds = $this->cache->get($key); if ($columnIds === null) { $columnIds = $this->columnMoveRestrictionModel->getAllSrcColumns($project_id); $this->cache->set($key, $columnIds); } return $columnIds; } }