public get ( string $projectId, boolean $ignoreCache = false, array $criteria = null ) : |
||
$projectId | string | The identifier of the project |
$ignoreCache | boolean | optional Should it ignore cache or not |
$criteria | array | optional Search criteria ['envId' => '', 'accountId' => ''] |
return | Returns the ProjectEntity on success or null if it does not exist. |
public function get($projectId, $ignoreCache = false, $criteria = null)
{
$all = $this->all($ignoreCache, $criteria);
return isset($all[$projectId]) ? $all[$projectId] : null;
}