Webmozart\Console\Api\Config\Config::getHandlerMethod PHP 메소드

getHandlerMethod() 공개 메소드

Returns the method of the command handler that should be executed when the configured command is run.
또한 보기: setHandlerMethod()
public getHandlerMethod ( ) : string
리턴 string The method name.
    public function getHandlerMethod()
    {
        if (!$this->handlerMethod) {
            return $this->getDefaultHandlerMethod();
        }
        return $this->handlerMethod;
    }

Usage Example

예제 #1
0
 public function testDefaultHandlerMethod()
 {
     $this->assertSame('handle', $this->config->getHandlerMethod());
 }