PHP 인터페이스 GrumPHP\Task\TaskInterface

파일 보기 프로젝트 열기: phpro/grumphp 0 사용 예제들

공개 메소드들

메소드 설명
canRunInContext ( GrumPHP\Task\Context\ContextInterface $context ) : boolean This methods specifies if a task can run in a specific context.
getConfigurableOptions ( ) : Symfony\Component\OptionsResolver\OptionsResolver
getConfiguration ( ) : array
getName ( ) : string
run ( GrumPHP\Task\Context\ContextInterface $context ) : GrumPHP\Runner\TaskResultInterface

메소드 상세

canRunInContext() 공개 메소드

This methods specifies if a task can run in a specific context.
public canRunInContext ( GrumPHP\Task\Context\ContextInterface $context ) : boolean
$context GrumPHP\Task\Context\ContextInterface
리턴 boolean

getConfigurableOptions() 공개 메소드

public getConfigurableOptions ( ) : Symfony\Component\OptionsResolver\OptionsResolver
리턴 Symfony\Component\OptionsResolver\OptionsResolver

getConfiguration() 공개 메소드

public getConfiguration ( ) : array
리턴 array

getName() 공개 메소드

public getName ( ) : string
리턴 string

run() 공개 메소드

public run ( GrumPHP\Task\Context\ContextInterface $context ) : GrumPHP\Runner\TaskResultInterface
$context GrumPHP\Task\Context\ContextInterface
리턴 GrumPHP\Runner\TaskResultInterface