PHP 클래스 Sculpin\Core\Source\SourceSet

저자: Beau Simensen ([email protected])
파일 보기 프로젝트 열기: sculpin/sculpin 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$newSources array New Sources
$sources array Sources

공개 메소드들

메소드 설명
__construct ( array $sources = [] ) Constructor.
allSources ( ) : array All sources
containsSource ( Sculpin\Core\Source\SourceInterface $source ) : boolean Set contains the source?
mergeSource ( Sculpin\Core\Source\SourceInterface $source ) Merge a source
newSources ( )
reset ( ) Reset all sources
updatedSources ( ) : array All sources that have been updated

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $sources = [] )
$sources array

allSources() 공개 메소드

All sources
public allSources ( ) : array
리턴 array

containsSource() 공개 메소드

Set contains the source?
public containsSource ( Sculpin\Core\Source\SourceInterface $source ) : boolean
$source Sculpin\Core\Source\SourceInterface
리턴 boolean

mergeSource() 공개 메소드

Merge a source
public mergeSource ( Sculpin\Core\Source\SourceInterface $source )
$source Sculpin\Core\Source\SourceInterface

newSources() 공개 메소드

public newSources ( )

reset() 공개 메소드

Should be called after each loop while watching.
public reset ( )

updatedSources() 공개 메소드

All sources that have been updated
public updatedSources ( ) : array
리턴 array

프로퍼티 상세

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

New Sources
protected array $newSources
리턴 array

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

Sources
protected array $sources
리턴 array