Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel Create Custom Artisan Command

namespace AppConsole;


use IlluminateConsoleSchedulingSchedule;
use IlluminateFoundationConsoleKernel as ConsoleKernel;


class Kernel extends ConsoleKernel
{
    /**
     * The Artisan commands provided by your application.
     *
     * @var array
     */
    protected $commands = [
        CommandsAdminCommand::class,
    ];
    /**
     * Define the application's command schedule.
     *
     * @param  IlluminateConsoleSchedulingSchedule  $schedule
     * @return void
     */
    protected function schedule(Schedule $schedule)
    {
        

    }
}
Source by www.itsolutionstuff.com #
 
PREVIOUS NEXT
Tagged: #Laravel #Create #Custom #Artisan #Command
ADD COMMENT
Topic
Name
2+6 =