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