PHP 클래스 REBELinBLUE\Deployer\Project

상속: extends REBELinBLUE\Deployer\ProjectRelation, implements Robbo\Presenter\PresentableInterface, use trait Illuminate\Database\Eloquent\SoftDeletes, use trait REBELinBLUE\Deployer\Traits\BroadcastChanges
파일 보기 프로젝트 열기: rebelinblue/deployer 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$appends array Additional attributes to include in the JSON representation.
$casts array The attributes that should be casted to native types.
$checkurlStatus array The check url's status count.
$dates array The fields which should be treated as Carbon instances.
$fillable array The attributes that are mass assignable.
$heartbeatStatus array The heart beats status count.
$hidden array The attributes excluded from the model's JSON form.

공개 메소드들

메소드 설명
accessDetails ( ) : array Parses the repository URL to get the user, domain, port and path parts.
applicationCheckUrlStatus ( ) : array Count the application url check status.
boot ( ) Override the boot method to bind model event listeners.
branches ( ) : array Gets the list of all branches for the project which are not the default.
checkUrls ( ) : CheckUrl Has many urls to check.
deployments ( ) : Deployment Has many relationship.
generateHash ( ) Generates a hash for use in the webhook URL.
getBranchUrlAttribute ( string $alternative = null ) : string | false Gets the HTTP URL to the branch.
getGroupNameAttribute ( ) : string Define a accessor for the group name.
getPresenter ( ) : ProjectPresenter Gets the view presenter.
getRepositoryPathAttribute ( ) : string | false Gets the repository path.
getRepositoryUrlAttribute ( ) : string | false Gets the HTTP URL to the repository.
getWebhookUrlAttribute ( ) : string Define an accessor for the webhook URL.
group ( ) : Group Belongs to relationship.
heartbeats ( ) : Heartbeat Has many relationship.
heartbeatsStatus ( ) : array Count the missed heartbeat.
isDeploying ( ) : boolean Determines whether the project is currently being deployed.
mirrorPath ( ) : string Generate a friendly path for the mirror of the repository.
notifications ( ) : Notification Has many relationship.
notifyEmails ( ) : SharedFile Has many relationship.
refs ( ) : Illuminate\Database\Eloquent\Relations\HasMany Has many relationship for git references.
servers ( ) : Server Has many relationship.
tags ( ) : Collection Gets the list of all tags for the project.

보호된 메소드들

메소드 설명
generateSSHKey ( ) Generates an SSH key and sets the private/public key properties.
regeneratePublicKey ( ) Generates an SSH key and sets the private/public key properties.

메소드 상세

accessDetails() 공개 메소드

Parses the repository URL to get the user, domain, port and path parts.
public accessDetails ( ) : array
리턴 array

applicationCheckUrlStatus() 공개 메소드

Count the application url check status.
public applicationCheckUrlStatus ( ) : array
리턴 array

boot() 공개 정적인 메소드

Override the boot method to bind model event listeners.
public static boot ( )

branches() 공개 메소드

Gets the list of all branches for the project which are not the default.
public branches ( ) : array
리턴 array

checkUrls() 공개 메소드

Has many urls to check.
public checkUrls ( ) : CheckUrl
리턴 CheckUrl

deployments() 공개 메소드

Has many relationship.
public deployments ( ) : Deployment
리턴 Deployment

generateHash() 공개 메소드

Generates a hash for use in the webhook URL.
public generateHash ( )

generateSSHKey() 보호된 메소드

Generates an SSH key and sets the private/public key properties.
protected generateSSHKey ( )

getBranchUrlAttribute() 공개 메소드

Gets the HTTP URL to the branch.
또한 보기: Project::accessDetails()
public getBranchUrlAttribute ( string $alternative = null ) : string | false
$alternative string
리턴 string | false

getGroupNameAttribute() 공개 메소드

Define a accessor for the group name.
public getGroupNameAttribute ( ) : string
리턴 string

getPresenter() 공개 메소드

Gets the view presenter.
public getPresenter ( ) : ProjectPresenter
리턴 REBELinBLUE\Deployer\Presenters\ProjectPresenter

getRepositoryPathAttribute() 공개 메소드

Gets the repository path.
또한 보기: Project::accessDetails()
public getRepositoryPathAttribute ( ) : string | false
리턴 string | false

getRepositoryUrlAttribute() 공개 메소드

Gets the HTTP URL to the repository.
또한 보기: Project::accessDetails()
public getRepositoryUrlAttribute ( ) : string | false
리턴 string | false

getWebhookUrlAttribute() 공개 메소드

Define an accessor for the webhook URL.
public getWebhookUrlAttribute ( ) : string
리턴 string

group() 공개 메소드

Belongs to relationship.
public group ( ) : Group
리턴 Group

heartbeats() 공개 메소드

Has many relationship.
public heartbeats ( ) : Heartbeat
리턴 Heartbeat

heartbeatsStatus() 공개 메소드

Count the missed heartbeat.
public heartbeatsStatus ( ) : array
리턴 array

isDeploying() 공개 메소드

Determines whether the project is currently being deployed.
public isDeploying ( ) : boolean
리턴 boolean

mirrorPath() 공개 메소드

Use the repository rather than the project ID, so if a single repo is used in multiple projects it is not duplicated.
public mirrorPath ( ) : string
리턴 string

notifications() 공개 메소드

Has many relationship.
public notifications ( ) : Notification
리턴 Notification

notifyEmails() 공개 메소드

Has many relationship.
public notifyEmails ( ) : SharedFile
리턴 SharedFile

refs() 공개 메소드

Has many relationship for git references.
또한 보기: Project::tags()
또한 보기: Project::branches()
public refs ( ) : Illuminate\Database\Eloquent\Relations\HasMany
리턴 Illuminate\Database\Eloquent\Relations\HasMany

regeneratePublicKey() 보호된 메소드

Generates an SSH key and sets the private/public key properties.
protected regeneratePublicKey ( )

servers() 공개 메소드

Has many relationship.
public servers ( ) : Server
리턴 Server

tags() 공개 메소드

Gets the list of all tags for the project.
public tags ( ) : Collection
리턴 Illuminate\Support\Collection

프로퍼티 상세

$appends 보호되어 있는 프로퍼티

Additional attributes to include in the JSON representation.
protected array $appends
리턴 array

$casts 보호되어 있는 프로퍼티

The attributes that should be casted to native types.
protected array $casts
리턴 array

$checkurlStatus 보호되어 있는 프로퍼티

The check url's status count.
protected array $checkurlStatus
리턴 array

$dates 보호되어 있는 프로퍼티

The fields which should be treated as Carbon instances.
protected array $dates
리턴 array

$fillable 보호되어 있는 프로퍼티

The attributes that are mass assignable.
protected array $fillable
리턴 array

$heartbeatStatus 보호되어 있는 프로퍼티

The heart beats status count.
protected array $heartbeatStatus
리턴 array

$hidden 보호되어 있는 프로퍼티

The attributes excluded from the model's JSON form.
protected array $hidden
리턴 array