Clockwork\DataSource\LaravelDataSource::__construct PHP Method

__construct() public method

Create a new data source, takes Laravel application instance as an argument
public __construct ( Illuminate\Foundation\Application $app )
$app Illuminate\Foundation\Application
    public function __construct(Application $app)
    {
        $this->app = $app;
        $this->log = new Log();
        $this->timeline = new Timeline();
        $this->views = new Timeline();
    }