sarga/app/Console/Kernel.php

42 lines
916 B
PHP
Raw Normal View History

2020-04-23 08:52:54 +00:00
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
//
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
bagisto master backmerge (#26) * introduce cronjob to automatically deactivate expired events * remove irrelevant code * extend cart rule validation with search in cart item additional * add additional to all languages * add ValidatorCest * add ValidatorCest * Fixed case sensitivity typo in Bundle class * Update 503.blade.php * Added customer group price * Fixed bundle type class compatablity issue * Refactor some changes Co-authored-by: Florian Bosdorff <26360670+bosix@users.noreply.github.com> * add english translation to foreign languages * fix compatibility issue to AbstractType * check if product_id exists * make a prefix to the copied cart rule ('copy of XXX') and properly save related channels and customer groups after replication * add table, lists, link and hr functionality to editor * Issue #3164 fixed * Turkish Language added and English language duplicate rows deleted. * Turkish Language added and English language duplicate rows deleted. * Turkish Language added and English language duplicate rows deleted. * Issue #3113 fixed * fix tiny issues due to code guidelines * add default value for search term * fix typo * Fixed typo in customer group price migration * Issue #3171 fixed * Issue #3070 fixed * minified jquery-ez-plus file * Issue #3160 fixed Co-authored-by: Shubham Mehrotra <shubh0896m@gmail.com> Co-authored-by: Matt April <matthew.japril@gmail.com> Co-authored-by: bhumikaisarani <63963172+bhumikaisarani@users.noreply.github.com> Co-authored-by: Jitendra Singh <39991107+jitendra-webkul@users.noreply.github.com> Co-authored-by: Pranshu Tomar <pranshutomar@Pranshus-MacBook-Air.local> Co-authored-by: Florian Bosdorff <26360670+bosix@users.noreply.github.com> Co-authored-by: Herbert Maschke <thyseus@pm.me> Co-authored-by: phillipmohr <phillip.mohr@sellerboost.de> Co-authored-by: İlyas Okay <ilyasokay@hotmail.com> Co-authored-by: Florian Bosdorff <florian.bosdorff@haendlerbund.de> Co-authored-by: phillipcodes <57101430+phillipcodes@users.noreply.github.com>
2020-06-09 05:55:56 +00:00
$schedule->command('booking:cron')->dailyAt('3:00');
2020-04-23 08:52:54 +00:00
}
/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');
bagisto master backmerge (#26) * introduce cronjob to automatically deactivate expired events * remove irrelevant code * extend cart rule validation with search in cart item additional * add additional to all languages * add ValidatorCest * add ValidatorCest * Fixed case sensitivity typo in Bundle class * Update 503.blade.php * Added customer group price * Fixed bundle type class compatablity issue * Refactor some changes Co-authored-by: Florian Bosdorff <26360670+bosix@users.noreply.github.com> * add english translation to foreign languages * fix compatibility issue to AbstractType * check if product_id exists * make a prefix to the copied cart rule ('copy of XXX') and properly save related channels and customer groups after replication * add table, lists, link and hr functionality to editor * Issue #3164 fixed * Turkish Language added and English language duplicate rows deleted. * Turkish Language added and English language duplicate rows deleted. * Turkish Language added and English language duplicate rows deleted. * Issue #3113 fixed * fix tiny issues due to code guidelines * add default value for search term * fix typo * Fixed typo in customer group price migration * Issue #3171 fixed * Issue #3070 fixed * minified jquery-ez-plus file * Issue #3160 fixed Co-authored-by: Shubham Mehrotra <shubh0896m@gmail.com> Co-authored-by: Matt April <matthew.japril@gmail.com> Co-authored-by: bhumikaisarani <63963172+bhumikaisarani@users.noreply.github.com> Co-authored-by: Jitendra Singh <39991107+jitendra-webkul@users.noreply.github.com> Co-authored-by: Pranshu Tomar <pranshutomar@Pranshus-MacBook-Air.local> Co-authored-by: Florian Bosdorff <26360670+bosix@users.noreply.github.com> Co-authored-by: Herbert Maschke <thyseus@pm.me> Co-authored-by: phillipmohr <phillip.mohr@sellerboost.de> Co-authored-by: İlyas Okay <ilyasokay@hotmail.com> Co-authored-by: Florian Bosdorff <florian.bosdorff@haendlerbund.de> Co-authored-by: phillipcodes <57101430+phillipcodes@users.noreply.github.com>
2020-06-09 05:55:56 +00:00
$this->load(__DIR__.'/../../packages/Webkul/Core/src/Console/Commands');
2020-04-23 08:52:54 +00:00
require base_path('routes/console.php');
}
}