Property | Type | Description | |
---|---|---|---|
$currentDeployment |
Property | Type | Description | |
---|---|---|---|
$appends | array | Additional attributes to include in the JSON representation. | |
$casts | array | The attributes that should be casted to native types. | |
$dates | array | The fields which should be tried as Carbon instances. | |
$fillable | array | The attributes that are mass assignable. | |
$hidden | array | The attributes excluded from the model's JSON form. |
Method | Description | |
---|---|---|
boot ( ) | Override the boot method to bind model event listeners. | |
getBranchURLAttribute ( ) : string | false | Gets the HTTP URL to the branch. | |
getCommandsAttribute ( ) : |
Define a command attribute to be able to access to commands relationship. | |
getCommitUrlAttribute ( ) : string | false | Gets the HTTP URL to the commit. | |
getDeployerNameAttribute ( ) : string | Define a accessor for the deployer name. | |
getPresenter ( ) : |
Gets the view presenter. | |
getProjectNameAttribute ( ) : string | Define a accessor for the project name. | |
getReleaseIdAttribute ( ) : string | Mutator to get the release ID. | |
getRepoFailureAttribute ( ) : boolean | Checks whether the repository failed to load. | |
getShortCommitAttribute ( ) : string | Gets the short commit hash. | |
isAborted ( ) : boolean | Determines whether the deployment is aborted. | |
isAborting ( ) : boolean | Determines whether the deployment is waiting to be aborted. | |
isCurrent ( ) : boolean | Determines if the deployment is the latest deployment. | |
isFailed ( ) : boolean | Determines whether the deployment failed. | |
isPending ( ) : boolean | Determines whether the deployment is pending. | |
isRunning ( ) : boolean | Determines whether the deployment is running. | |
isSuccessful ( ) : boolean | Determines whether the deployment is successful. | |
notificationPayload ( ) : array | Generates a slack payload for the deployment. | |
project ( ) : |
Belongs to relationship. | |
runtime ( ) : false | integer | Determines how long the deploy took. | |
steps ( ) : Illuminate\Database\Eloquent\Relations\HasMany | Has many relationship. | |
user ( ) : |
Belongs to relationship. |
Method | Description | |
---|---|---|
loadCommands ( ) | Query the DB and load the HasMany relationship for commands. |
public static boot ( ) |
public getBranchURLAttribute ( ) : string | false | ||
return | string | false |
public getCommandsAttribute ( ) : |
||
return |
public getCommitUrlAttribute ( ) : string | false | ||
return | string | false |
public getDeployerNameAttribute ( ) : string | ||
return | string |
public getPresenter ( ) : |
||
return |
public getProjectNameAttribute ( ) : string | ||
return | string |
public getReleaseIdAttribute ( ) : string | ||
return | string |
public getRepoFailureAttribute ( ) : boolean | ||
return | boolean |
public getShortCommitAttribute ( ) : string | ||
return | string |
public isAborting ( ) : boolean | ||
return | boolean |
public isSuccessful ( ) : boolean | ||
return | boolean |
public notificationPayload ( ) : array | ||
return | array |
public project ( ) : |
||
return |
public steps ( ) : Illuminate\Database\Eloquent\Relations\HasMany | ||
return | Illuminate\Database\Eloquent\Relations\HasMany |
public user ( ) : |
||
return |
protected array $appends | ||
return | array |
protected array $casts | ||
return | array |
protected array $dates | ||
return | array |
protected array $fillable | ||
return | array |