当前位置: 首页>>代码示例>>PHP>>正文


PHP Application::getDefaultHelperSet方法代码示例

本文整理汇总了PHP中Symfony\Component\Console\Application::getDefaultHelperSet方法的典型用法代码示例。如果您正苦于以下问题:PHP Application::getDefaultHelperSet方法的具体用法?PHP Application::getDefaultHelperSet怎么用?PHP Application::getDefaultHelperSet使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Symfony\Component\Console\Application的用法示例。


在下文中一共展示了Application::getDefaultHelperSet方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getDefaultHelperSet

 /**
  * {@inheritdoc}
  */
 protected function getDefaultHelperSet()
 {
     $helperSet = parent::getDefaultHelperSet();
     $helperSet->set(new Config());
     $helperSet->set(new YoHelper());
     return $helperSet;
 }
开发者ID:toin0u,项目名称:yo-cli,代码行数:10,代码来源:Application.php

示例2: getDefaultHelperSet

 protected function getDefaultHelperSet()
 {
     $container = $this->getContainer();
     $helperSet = parent::getDefaultHelperSet();
     $helperSet->set(new Helper\PathsHelper($container->get('config'), $container->get('filesystem')));
     return $helperSet;
 }
开发者ID:brzuchal,项目名称:grumphp,代码行数:7,代码来源:Application.php

示例3: getDefaultHelperSet

 protected function getDefaultHelperSet()
 {
     $container = $this->getContainer();
     $helperSet = parent::getDefaultHelperSet();
     $helperSet->set(new Helper\PathsHelper($container->get('config'), $container->get('filesystem')));
     $helperSet->set(new Helper\TaskRunnerHelper($container->get('task_runner'), $container->get('event_dispatcher')));
     return $helperSet;
 }
开发者ID:brunocoelhor,项目名称:grumphp,代码行数:8,代码来源:Application.php

示例4: getDefaultHelperSet

 /**
  * @override
  */
 protected function getDefaultHelperSet()
 {
     $helperSet = parent::getDefaultHelperSet();
     if ('master' !== $this->getVersion()) {
         $helperSet->set(new Amend\Helper());
     }
     return $helperSet;
 }
开发者ID:jmverges,项目名称:soup,代码行数:11,代码来源:Application.php

示例5: getDefaultHelperSet

 protected function getDefaultHelperSet()
 {
     $container = $this->getContainer();
     $helperSet = parent::getDefaultHelperSet();
     $helperSet->set($this->initializeComposerHelper());
     $helperSet->set(new Helper\PathsHelper($container->get('config'), $container->get('grumphp.util.filesystem'), $container->get('locator.external_command'), $this->getDefaultConfigPath()));
     $helperSet->set(new Helper\TaskRunnerHelper($container->get('task_runner'), $container->get('event_dispatcher'), $container->get('config')));
     return $helperSet;
 }
开发者ID:phpro,项目名称:grumphp,代码行数:9,代码来源:Application.php

示例6: getDefaultHelperSet

 protected function getDefaultHelperSet()
 {
     $helperSet = parent::getDefaultHelperSet();
     $helperSet->set(new InitHelper());
     $helperSet->set(new RequireHelper());
     $helperSet->set(new PackageHelper());
     $helperSet->set(new PathHelper());
     return $helperSet;
 }
开发者ID:quickstrap,项目名称:quickstrap,代码行数:9,代码来源:Application.php

示例7: getDefaultHelperSet

 /**
  * @override
  */
 protected function getDefaultHelperSet()
 {
     $helperSet = parent::getDefaultHelperSet();
     $helperSet->set(new Helper\ConfigurationHelper());
     $helperSet->set(new Helper\PhpSecLibHelper());
     if ('@' . 'git-version@' !== $this->getVersion()) {
         $helperSet->set(new Amend\Helper());
     }
     return $helperSet;
 }
开发者ID:hongtien510,项目名称:phalcon_dev_tool,代码行数:13,代码来源:Application.php

示例8: getDefaultHelperSet

 public function getDefaultHelperSet()
 {
     $helperSet = parent::getDefaultHelperSet();
     $helperSet->set(new Console\Helper\DatabaseHelper());
     $helperSet->set(new Console\Helper\SshConfigHelper());
     $helperSet->set(new Console\Helper\ApacheHelper());
     $helperSet->set(new Console\Helper\TwigHelper());
     $helperSet->set(new Console\Helper\VagrantHelper());
     $helperSet->set(new Console\Helper\ConfigHelper());
     return $helperSet;
 }
开发者ID:clickrain,项目名称:breeze,代码行数:11,代码来源:Application.php

示例9: getDefaultHelperSet

 /**
  * {@inheritdoc}
  */
 protected function getDefaultHelperSet()
 {
     $helperSet = parent::getDefaultHelperSet();
     $helperSet->set(new PharUpdateHelper());
     return $helperSet;
 }
开发者ID:elfet,项目名称:deployer,代码行数:9,代码来源:Application.php

示例10: getDefaultHelperSet

 /**
  * {@inheritDoc}
  */
 protected function getDefaultHelperSet()
 {
     $helperSet = parent::getDefaultHelperSet();
     // register helpers
     return $helperSet;
 }
开发者ID:bluzphp,项目名称:bluzman,代码行数:9,代码来源:Application.php

示例11: getDefaultHelperSet

 /**
  * {@inheritDoc}
  */
 protected function getDefaultHelperSet()
 {
     $helperSet = parent::getDefaultHelperSet();
     $helperSet->set(new \Composer\Command\Helper\DialogHelper());
     return $helperSet;
 }
开发者ID:kohkimakimoto,项目名称:altax,代码行数:9,代码来源:Application.php

示例12: getDefaultHelperSet

 /**
  * {@inheritdoc}
  */
 protected function getDefaultHelperSet()
 {
     $set = parent::getDefaultHelperSet();
     $set->set(new DistinguishedNameHelper());
     return $set;
 }
开发者ID:acmephp,项目名称:acmephp,代码行数:9,代码来源:Application.php

示例13: getDefaultHelperSet

 /**
  * {@inheritdoc}
  */
 protected function getDefaultHelperSet()
 {
     $helperSet = parent::getDefaultHelperSet();
     if (class_exists('Symfony\\Component\\Console\\Helper\\DialogHelper')) {
         $helperSet->set(new \Bowerphp\Command\Helper\DialogHelper());
     } else {
         $helperSet->set(new \Bowerphp\Command\Helper\QuestionHelper());
     }
     return $helperSet;
 }
开发者ID:lexxorlov,项目名称:bowerphp,代码行数:13,代码来源:Application.php

示例14: getDefaultHelperSet

 /**
  * @{inheritdoc}
  */
 protected function getDefaultHelperSet()
 {
     $helperSet = parent::getDefaultHelperSet();
     if ('@' . 'git-version@' !== $this->getVersion()) {
         $helperSet->set(new Amend\Helper());
     }
     $helperSet->set(new Helper\AutocompleteHelper());
     return $helperSet;
 }
开发者ID:tonydub,项目名称:jarvis,代码行数:12,代码来源:Application.php

示例15: getDefaultHelperSet

 /**
  * @inheritDoc
  */
 protected function getDefaultHelperSet()
 {
     $helpers = parent::getDefaultHelperSet();
     $helpers->set(new ConfigHelper($this));
     return $helpers;
 }
开发者ID:juniwalk,项目名称:darwin,代码行数:9,代码来源:Darwin.php


注:本文中的Symfony\Component\Console\Application::getDefaultHelperSet方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。