Clockwork\DataSource\LumenDataSource::__construct PHP Method

__construct() public method

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