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


PHP Artisan::add方法代码示例

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


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

示例1: DemoInstallCommand

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new DemoInstallCommand());
开发者ID:Denniskevin,项目名称:demo-cart,代码行数:13,代码来源:artisan.php

示例2: AppCommand

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new AppCommand());
开发者ID:forestallers,项目名称:laravel-starter-kit,代码行数:13,代码来源:artisan.php

示例3: AnswerDB

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new AnswerDB());
Artisan::add(new QuestionTypeDB());
Artisan::add(new QuestionDB());
Artisan::add(new QuestionAnswerDB());
Artisan::add(new LocationDB());
Artisan::add(new TourDB());
Artisan::add(new FactorDB());
Artisan::add(new InteractionDB());
Artisan::add(new TourScoreDB());
Artisan::add(new DBTransaction());
Artisan::add(new AnswerMap());
开发者ID:phucps89,项目名称:Tour,代码行数:23,代码来源:artisan.php

示例4: AppCommand

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new AppCommand());
Artisan::add(new CronJobCommand());
Artisan::add(new AnnuallyCommand());
Artisan::add(new QuarterlyCommand());
Artisan::add(new SemiAnnuallyCommand());
开发者ID:jeremiteki,项目名称:mteja-laravel,代码行数:17,代码来源:artisan.php

示例5: AppReset

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new AppReset());
Artisan::add(new GenerateViews());
开发者ID:k4ml,项目名称:laravel-base,代码行数:14,代码来源:artisan.php

示例6: TopicMarkdownConvertionCommand

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new TopicMarkdownConvertionCommand());
Artisan::add(new TopicMakeExcerptCommand());
Artisan::add(new UserRenameCommand());
Artisan::add(new UserMigrateGithubUsernameCommand());
Artisan::add(new ReplyMarkdownCommand());
// Backing up database
Artisan::add(new DatabaseBackupCommand());
Artisan::add(new OpcacheClearCommand());
Artisan::add(new CacheAvatarsCommand());
Artisan::add(new ContributorSyncCommand());
Artisan::resolve('InstallCommand');
开发者ID:adminrt,项目名称:phphub,代码行数:23,代码来源:artisan.php

示例7: ViewsCommand

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new ViewsCommand());
开发者ID:emharis,项目名称:amanda,代码行数:13,代码来源:artisan.php

示例8: ApplicationSetup

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new ApplicationSetup());
Artisan::add(new GenerateModelData());
Artisan::add(new Settings());
Artisan::add(new ImportTranslationsCommand());
开发者ID:Junyue,项目名称:zidisha2,代码行数:16,代码来源:artisan.php

示例9: JunsCommand

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new JunsCommand());
开发者ID:ArthurZheng,项目名称:php_laravel_ref_notes,代码行数:13,代码来源:artisan.php

示例10:

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new \Larapress\Commands\InstallCommand());
开发者ID:acmadi,项目名称:larapress,代码行数:13,代码来源:artisan.php

示例11: FetchDeposits

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new FetchDeposits());
Artisan::add(new VerifyPayouts());
开发者ID:orbitroom,项目名称:4isk,代码行数:14,代码来源:artisan.php

示例12: UserCreatorCommand

<?php

Artisan::add(new UserCreatorCommand());
Artisan::add(new AboutClassCommand());
开发者ID:binaryk,项目名称:credite,代码行数:4,代码来源:artisan.php

示例13: Products

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new Products(App::make('Moa\\API\\Provider\\ProviderInterface')));
开发者ID:prachetas,项目名称:Magento-on-Angular,代码行数:13,代码来源:artisan.php

示例14: MigrateApplicationCommand

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new MigrateApplicationCommand());
Artisan::add(new AssetsPublishCommand());
// Some people still don't have dummy package installed,
// Load it only if it already within service-provider lists
if (App::offsetExists('dummy.creator')) {
    Artisan::add(new WorkbenchDummyCommand(app('dummy.creator')));
}
开发者ID:sgh1986915,项目名称:laravel-bizgym,代码行数:19,代码来源:artisan.php

示例15: UploadWorker

<?php

/*
|--------------------------------------------------------------------------
| Register The Artisan Commands
|--------------------------------------------------------------------------
|
| Each available Artisan command must be registered with the console so
| that it is available to be called. We'll register every command so
| the console gets access to each of the command object instances.
|
*/
Artisan::add(new UploadWorker());
Artisan::add(new RunWorker());
开发者ID:Laxman-SM,项目名称:iron_worker_examples,代码行数:14,代码来源:artisan.php


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