Webmozart\Console\Api\Config\Config::getDefaultHandlerMethod PHP Method

getDefaultHandlerMethod() protected method

Returns the handler method to use if none is set.
protected getDefaultHandlerMethod ( ) : string
return string The default handler method.
    protected function getDefaultHandlerMethod()
    {
        return 'handle';
    }

Usage Example

Example #1
0
 /**
  * {@inheritdoc}
  */
 protected function getDefaultHandlerMethod()
 {
     return $this->applicationConfig ? $this->applicationConfig->getHandlerMethod() : parent::getDefaultHandlerMethod();
 }