PHP 클래스 PhpSpec\Loader\Node\SpecificationNode

상속: implements Countable
파일 보기 프로젝트 열기: phpspec/phpspec 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $title, ReflectionClass $class, PhpSpec\Locator\Resource $resource )
addExample ( ExampleNode $example )
count ( ) : integer
getClassReflection ( ) : ReflectionClass
getExamples ( ) : ExampleNode[]
getResource ( ) : PhpSpec\Locator\Resource
getSuite ( ) : PhpSpec\Loader\Suite | null
getTitle ( ) : string
setSuite ( PhpSpec\Loader\Suite $suite )

메소드 상세

__construct() 공개 메소드

public __construct ( string $title, ReflectionClass $class, PhpSpec\Locator\Resource $resource )
$title string
$class ReflectionClass
$resource PhpSpec\Locator\Resource

addExample() 공개 메소드

public addExample ( ExampleNode $example )
$example ExampleNode

count() 공개 메소드

public count ( ) : integer
리턴 integer

getClassReflection() 공개 메소드

public getClassReflection ( ) : ReflectionClass
리턴 ReflectionClass

getExamples() 공개 메소드

public getExamples ( ) : ExampleNode[]
리턴 ExampleNode[]

getResource() 공개 메소드

public getResource ( ) : PhpSpec\Locator\Resource
리턴 PhpSpec\Locator\Resource

getSuite() 공개 메소드

public getSuite ( ) : PhpSpec\Loader\Suite | null
리턴 PhpSpec\Loader\Suite | null

getTitle() 공개 메소드

public getTitle ( ) : string
리턴 string

setSuite() 공개 메소드

public setSuite ( PhpSpec\Loader\Suite $suite )
$suite PhpSpec\Loader\Suite