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

getDefaultHandler() 보호된 메소드

Returns the command handler to use if none is set.
protected getDefaultHandler ( ) : object
리턴 object The default command handler.
    protected function getDefaultHandler()
    {
        return new NullHandler();
    }

Usage Example

예제 #1
0
 /**
  * {@inheritdoc}
  */
 protected function getDefaultHandler()
 {
     return $this->applicationConfig ? $this->applicationConfig->getHandler() : parent::getDefaultHandler();
 }