本文整理汇总了PHP中Illuminate\Console\Application::getHelp方法的典型用法代码示例。如果您正苦于以下问题:PHP Application::getHelp方法的具体用法?PHP Application::getHelp怎么用?PHP Application::getHelp使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Illuminate\Console\Application
的用法示例。
在下文中一共展示了Application::getHelp方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getHelp
/**
* Display the application's help.
*
* @return string
*/
public function getHelp()
{
$help = str_replace($this->getLongVersion(), null, parent::getHelp());
$state = $this->buildBlock('Current state', $this->getCurrentState());
$help = sprintf('%s' . PHP_EOL . PHP_EOL . '%s%s', $this->getLongVersion(), $state, $help);
return $help;
}
示例2: getHelp
/**
* Gets the help message.
*
* @return string A help message.
* @static
*/
public static function getHelp()
{
//Method inherited from \Symfony\Component\Console\Application
return \Illuminate\Console\Application::getHelp();
}
示例3: getHelp
/**
* Display the application's help
*
* @return string
*/
public function getHelp()
{
$help = str_replace($this->getLongVersion(), null, parent::getHelp());
return $this->getLongVersion() . PHP_EOL . PHP_EOL . $this->buildBlock('Current state', $this->getCurrentState()) . $help;
}
示例4: getHelp
public function getHelp()
{
return parent::getHelp();
// TODO: Change the autogenerated stub
}