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

getDefaultLenientArgsParsing() protected method

Returns whether the arguments parsing handles errors gracefully.
protected getDefaultLenientArgsParsing ( ) : boolean
return boolean The default value for lenient args parsing.
    protected function getDefaultLenientArgsParsing()
    {
        return false;
    }

Usage Example

コード例 #1
0
ファイル: CommandConfig.php プロジェクト: webmozart/console
 /**
  * {@inheritdoc}
  */
 protected function getDefaultLenientArgsParsing()
 {
     return $this->applicationConfig ? $this->applicationConfig->isLenientArgsParsingEnabled() : parent::getDefaultLenientArgsParsing();
 }