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
<?php namespace App\Services; | |
use Illuminate\Session\Store; | |
/** | |
* Laravel 5 Flash messages inspired by Laracasts Flash Messages. | |
* | |
* @link https://github.com/laracasts/flash | |
* | |
* @author Andrew Willis <[email protected]> | |
* |
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
<?php | |
class BaseModel extends Eloquent | |
{ | |
public $timestamps = false; | |
/** | |
* Validation rules | |
* | |
* @var array |
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
<?php | |
namespace Extreloquent; | |
use Illuminate\Database\Eloquent\Builder; | |
/** | |
* Extension of the Eloquent model to add active dates to data | |
* | |
* Class Model |
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot){ | |
this.offset = 1; | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; |
NewerOlder