PHP 클래스 PhpSpec\CodeGenerator\Generator\InterfaceGenerator

상속: extends PromptingGenerator
파일 보기 프로젝트 열기: phpspec/phpspec

공개 메소드들

메소드 설명
getPriority ( ) : integer
supports ( PhpSpec\Locator\Resource $resource, string $generation, array $data ) : boolean

보호된 메소드들

메소드 설명
getFilePath ( PhpSpec\Locator\Resource $resource ) : string
getGeneratedMessage ( PhpSpec\Locator\Resource $resource, string $filepath ) : string
getTemplate ( ) : string
renderTemplate ( PhpSpec\Locator\Resource $resource, string $filepath ) : string

메소드 상세

getFilePath() 보호된 메소드

protected getFilePath ( PhpSpec\Locator\Resource $resource ) : string
$resource PhpSpec\Locator\Resource
리턴 string

getGeneratedMessage() 보호된 메소드

protected getGeneratedMessage ( PhpSpec\Locator\Resource $resource, string $filepath ) : string
$resource PhpSpec\Locator\Resource
$filepath string
리턴 string

getPriority() 공개 메소드

public getPriority ( ) : integer
리턴 integer

getTemplate() 보호된 메소드

protected getTemplate ( ) : string
리턴 string

renderTemplate() 보호된 메소드

protected renderTemplate ( PhpSpec\Locator\Resource $resource, string $filepath ) : string
$resource PhpSpec\Locator\Resource
$filepath string
리턴 string

supports() 공개 메소드

public supports ( PhpSpec\Locator\Resource $resource, string $generation, array $data ) : boolean
$resource PhpSpec\Locator\Resource
$generation string
$data array
리턴 boolean