PHP Class DNBranchList

Inheritance: extends ArrayList
Exibir arquivo Open project: silverstripe/deploynaut Class Usage Examples

Protected Properties

Property Type Description
$builds array
$data DNData
$loaded boolean
$project DNProject
$refs_dir string

Public Methods

Method Description
__construct ( DNProject $project, DNData $data )
byName ( $name ) : string Find a branch in this set by branch name.
getIterator ( ) : ArrayIterator Returns an Iterator for this ArrayList.
get_refs_dir ( )
set_refs_dir ( $refsDir )

Protected Methods

Method Description
getReferences ( ) : array

Method Details

__construct() public method

public __construct ( DNProject $project, DNData $data )
$project DNProject
$data DNData

byName() public method

Find a branch in this set by branch name.
public byName ( $name ) : string
$name
return string

getIterator() public method

This function allows you to use ArrayList in foreach loops

getReferences() protected method

protected getReferences ( ) : array
return array

get_refs_dir() public static method

public static get_refs_dir ( )

set_refs_dir() public static method

public static set_refs_dir ( $refsDir )

Property Details

$builds protected_oe property

protected array $builds
return array

$data protected_oe property

protected DNData $data
return DNData

$loaded protected_oe property

protected bool $loaded
return boolean

$project protected_oe property

protected DNProject $project
return DNProject

$refs_dir protected_oe static_oe property

protected static string $refs_dir
return string