public EverDeployedTo ( string $environmentName ) : boolean | ||
$environmentName | string | |
return | boolean | True if this release has ever been deployed to the given environment |
public function getReleaseStatus(DNCommit $commit, $sha) { return $commit->EverDeployedTo($this->Environment()->Name) ? 'success' : null; }