replace [text in square blocks] with the right code snippets
speed, speed, speed
no viruses
open source juice
unix favors
become a guru swiftly
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
class DBCreate extends Command | |
{ | |
/** | |
* The name and signature of the console command. |
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
class DBDrop extends Command | |
{ | |
/** | |
* The name and signature of the console command. |
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
class AppInstall extends Command | |
{ | |
/** | |
* The name and signature of the console command. |
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
class Toastr | |
{ | |
/** | |
* Handle an incoming request. |
@if(session('toastr')) | |
<link rel="stylesheet" href="{{ asset('/plugins/toastr/toastr.min.css') }}"> | |
<script src="{{ asset('/plugins/toastr/toastr.min.js') }}" type="text/javascript"></script> | |
<style type="text/css" media="screen"> | |
.toast-top-right { | |
top: 50px; | |
} | |
</style> |
<?php | |
/** | |
* Return a success response | |
* | |
* @return Response | |
*/ | |
function success($message, $redirectUrl, $record=null) | |
{ |
<?php | |
use Illuminate\Console\Command; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Input\InputArgument; | |
class AppDebug extends Command { | |
/** | |
* The console command name. |
<?php | |
use Illuminate\Console\Command; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Input\InputArgument; | |
class AppURL extends Command { | |
/** | |
* The console command name. |