/** * get the defined project * * @param string $projectKey * @return \Vionox\Jira\Rest\Project * @static */ public function project($projectKey) { $project = Project::make($this->getProject($projectKey)); return $project; // do something with the project object }