-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be5df53
commit d637c2b
Showing
439 changed files
with
19,057 additions
and
19,204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?php namespace App\Commands; | ||
<?php | ||
|
||
abstract class Command { | ||
|
||
// | ||
namespace App\Commands; | ||
|
||
abstract class Command | ||
{ | ||
// | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
<?php namespace App\Console\Commands; | ||
<?php | ||
|
||
namespace App\Console\Commands; | ||
|
||
use Illuminate\Console\Command; | ||
use Illuminate\Foundation\Inspiring; | ||
|
||
class Inspire extends Command { | ||
|
||
/** | ||
* The console command name. | ||
* | ||
* @var string | ||
*/ | ||
protected $name = 'inspire'; | ||
|
||
/** | ||
* The console command description. | ||
* | ||
* @var string | ||
*/ | ||
protected $description = 'Display an inspiring quote'; | ||
class Inspire extends Command | ||
{ | ||
/** | ||
* The console command name. | ||
* | ||
* @var string | ||
*/ | ||
protected $name = 'inspire'; | ||
|
||
/** | ||
* Execute the console command. | ||
* | ||
* @return mixed | ||
*/ | ||
public function handle() | ||
{ | ||
$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL); | ||
} | ||
/** | ||
* The console command description. | ||
* | ||
* @var string | ||
*/ | ||
protected $description = 'Display an inspiring quote'; | ||
|
||
/** | ||
* Execute the console command. | ||
* | ||
* @return mixed | ||
*/ | ||
public function handle() | ||
{ | ||
$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,38 @@ | ||
<?php namespace App\Console; | ||
<?php | ||
|
||
namespace App\Console; | ||
|
||
use Illuminate\Console\Scheduling\Schedule; | ||
use Illuminate\Foundation\Console\Kernel as ConsoleKernel; | ||
|
||
class Kernel extends ConsoleKernel { | ||
class Kernel extends ConsoleKernel | ||
{ | ||
/** | ||
* The Artisan commands provided by your application. | ||
* | ||
* @var array | ||
*/ | ||
protected $commands = [ | ||
'App\Console\Commands\Inspire', | ||
]; | ||
|
||
/** | ||
* The Artisan commands provided by your application. | ||
* | ||
* @var array | ||
*/ | ||
protected $commands = [ | ||
'App\Console\Commands\Inspire', | ||
]; | ||
/** | ||
* Define the application's command schedule. | ||
* | ||
* @param \Illuminate\Console\Scheduling\Schedule $schedule | ||
* | ||
* @return void | ||
*/ | ||
protected function schedule(Schedule $schedule) | ||
{ | ||
$schedule->command('inspire') | ||
->hourly(); | ||
|
||
/** | ||
* Define the application's command schedule. | ||
* | ||
* @param \Illuminate\Console\Scheduling\Schedule $schedule | ||
* @return void | ||
*/ | ||
protected function schedule(Schedule $schedule) | ||
{ | ||
$schedule->command('inspire') | ||
->hourly(); | ||
|
||
$schedule->call(function () { | ||
|
||
$user = new User; | ||
$user->save(); | ||
|
||
})->everyFiveMinutes(); | ||
$schedule->call(function () { | ||
|
||
} | ||
$user = new User(); | ||
$user->save(); | ||
|
||
})->everyFiveMinutes(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
<?php namespace App\Events; | ||
<?php | ||
|
||
use App\Events\Event; | ||
namespace App\Events; | ||
|
||
use Illuminate\Queue\SerializesModels; | ||
|
||
class ClientTicketForm extends Event { | ||
class ClientTicketForm extends Event | ||
{ | ||
use SerializesModels; | ||
|
||
use SerializesModels; | ||
|
||
public $para1; | ||
public $para2; | ||
public $para3; | ||
public $para4; | ||
public $para5; | ||
|
||
public function __construct($para1='',$para2='',$para3='',$para4='',$para5='') | ||
{ | ||
$this->para1 = $para1; | ||
$this->para2 = $para2; | ||
$this->para3 = $para3; | ||
$this->para4 = $para4; | ||
$this->para5 = $para5; | ||
|
||
} | ||
public $para1; | ||
public $para2; | ||
public $para3; | ||
public $para4; | ||
public $para5; | ||
|
||
public function __construct($para1 = '', $para2 = '', $para3 = '', $para4 = '', $para5 = '') | ||
{ | ||
$this->para1 = $para1; | ||
$this->para2 = $para2; | ||
$this->para3 = $para3; | ||
$this->para4 = $para4; | ||
$this->para5 = $para5; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,25 @@ | ||
<?php namespace App\Events; | ||
<?php | ||
|
||
use App\Events\Event; | ||
namespace App\Events; | ||
|
||
use Illuminate\Queue\SerializesModels; | ||
|
||
class ClientTicketFormPost extends Event { | ||
|
||
use SerializesModels; | ||
|
||
public $para1; | ||
public $para2; | ||
public $para3; | ||
public $para4; | ||
public $para5; | ||
|
||
public function __construct($para1='',$para2='',$para3='',$para4='',$para5='') | ||
{ | ||
$this->para1 = $para1; | ||
$this->para2 = $para2; | ||
$this->para3 = $para3; | ||
$this->para4 = $para4; | ||
$this->para5 = $para5; | ||
|
||
} | ||
class ClientTicketFormPost extends Event | ||
{ | ||
use SerializesModels; | ||
|
||
public $para1; | ||
public $para2; | ||
public $para3; | ||
public $para4; | ||
public $para5; | ||
|
||
public function __construct($para1 = '', $para2 = '', $para3 = '', $para4 = '', $para5 = '') | ||
{ | ||
$this->para1 = $para1; | ||
$this->para2 = $para2; | ||
$this->para3 = $para3; | ||
$this->para4 = $para4; | ||
$this->para5 = $para5; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?php namespace App\Events; | ||
<?php | ||
|
||
abstract class Event { | ||
|
||
// | ||
namespace App\Events; | ||
|
||
abstract class Event | ||
{ | ||
// | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,29 @@ | ||
<?php namespace App\Events; | ||
<?php | ||
|
||
use App\Events\Event; | ||
namespace App\Events; | ||
|
||
use Illuminate\Queue\SerializesModels; | ||
|
||
class FaveoAfterReply extends Event { | ||
|
||
use SerializesModels; | ||
public $para1; | ||
public $para2; | ||
public $para3; | ||
public $para4; | ||
public $para5; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @return void | ||
*/ | ||
public function __construct($para1='',$para2='',$para3='',$para4='',$para5='') | ||
{ | ||
$this->para1 = $para1; | ||
$this->para2 = $para2; | ||
$this->para3 = $para3; | ||
$this->para4 = $para4; | ||
$this->para5 = $para5; | ||
} | ||
|
||
class FaveoAfterReply extends Event | ||
{ | ||
use SerializesModels; | ||
public $para1; | ||
public $para2; | ||
public $para3; | ||
public $para4; | ||
public $para5; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @return void | ||
*/ | ||
public function __construct($para1 = '', $para2 = '', $para3 = '', $para4 = '', $para5 = '') | ||
{ | ||
$this->para1 = $para1; | ||
$this->para2 = $para2; | ||
$this->para3 = $para3; | ||
$this->para4 = $para4; | ||
$this->para5 = $para5; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
<?php namespace App\Events; | ||
<?php | ||
|
||
use App\Events\Event; | ||
namespace App\Events; | ||
|
||
use Illuminate\Queue\SerializesModels; | ||
|
||
class FormRegisterEvent extends Event { | ||
class FormRegisterEvent extends Event | ||
{ | ||
use SerializesModels; | ||
|
||
use SerializesModels; | ||
|
||
public $para1; | ||
public $para2; | ||
public $para3; | ||
public $para4; | ||
public $para5; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @return void | ||
*/ | ||
public function __construct($para1='',$para2='',$para3='',$para4='',$para5='') | ||
{ | ||
$this->para1 = $para1; | ||
$this->para2 = $para2; | ||
$this->para3 = $para3; | ||
$this->para4 = $para4; | ||
$this->para5 = $para5; | ||
} | ||
public $para1; | ||
public $para2; | ||
public $para3; | ||
public $para4; | ||
public $para5; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @return void | ||
*/ | ||
public function __construct($para1 = '', $para2 = '', $para3 = '', $para4 = '', $para5 = '') | ||
{ | ||
$this->para1 = $para1; | ||
$this->para2 = $para2; | ||
$this->para3 = $para3; | ||
$this->para4 = $para4; | ||
$this->para5 = $para5; | ||
} | ||
} |
Oops, something went wrong.