當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。