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


PHP Command::blockMessage方法代码示例

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


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

示例1: fire

 /**
  * Fire the install script.
  *
  * @param Command $command
  *
  * @return mixed
  */
 public function fire(Command $command)
 {
     if ($command->option('verbose')) {
         $command->blockMessage('Seeds', 'Running the module seeds ...', 'comment');
     }
     $this->demoSeedCoreModules($command);
     $this->demoSeedAdditionalModules($command);
 }
开发者ID:SocietyCMS,项目名称:Core,代码行数:15,代码来源:ModuleSeeders.php

示例2: fire

 /**
  * Fire the install script.
  *
  * @param Command $command
  *
  * @return mixed
  */
 public function fire(Command $command)
 {
     $this->command = $command;
     if ($command->option('verbose')) {
         $command->blockMessage('User', 'Creating Admin User...', 'comment');
     }
     $this->seedAdminRole();
     $this->createFirstUser();
 }
开发者ID:SocietyCMS,项目名称:Core,代码行数:16,代码来源:AdminUserInstaller.php

示例3: fire

 /**
  * Fire the install script.
  *
  * @param Command $command
  *
  * @throws Exception
  *
  * @return mixed
  */
 public function fire(Command $command)
 {
     $this->command = $command;
     if ($command->option('verbose')) {
         $command->blockMessage('Requirements', 'Checking System Requirements ...', 'comment');
     }
     $this->checkPHPVersion();
     $this->checkExtensions();
     $this->showResults();
 }
开发者ID:SocietyCMS,项目名称:Core,代码行数:19,代码来源:RequirementsCheck.php

示例4: fire

 /**
  * Fire the install script.
  *
  * @param Command $command
  *
  * @return mixed
  */
 public function fire(Command $command)
 {
     if ($command->option('verbose')) {
         $command->blockMessage('Themes', 'Publishing theme assets ...', 'comment');
     }
     if ($command->option('verbose')) {
         $command->call('stylist:publish');
         return;
     }
     $command->callSilent('stylist:publish');
 }
开发者ID:SocietyCMS,项目名称:Core,代码行数:18,代码来源:ThemeAssets.php

示例5: fire

 /**
  * Fire the install script
  * @param  Command $command
  * @return mixed
  */
 public function fire(Command $command)
 {
     if ($command->option('verbose')) {
         $command->blockMessage('Seeds', 'Running the module seeds ...', 'comment');
     }
     foreach ($this->modules as $module) {
         if ($command->option('verbose')) {
             $command->call('module:seed', ['module' => $module]);
             continue;
         }
         $command->callSilent('module:seed', ['module' => $module]);
     }
 }
开发者ID:Houbsi,项目名称:Core,代码行数:18,代码来源:ModuleSeeders.php

示例6: fire

 /**
  * Fire the install script
  * @param  Command $command
  * @return mixed
  */
 public function fire(Command $command)
 {
     $command->blockMessage('User Module', 'Starting the User Module setup...', 'comment');
     $this->configure('Sentinel', $command);
 }
开发者ID:Houbsi,项目名称:Core,代码行数:10,代码来源:ConfigureUserProvider.php


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