Bolt\Cron::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Silex\Application $app, Symfony\Component\Console\Output\OutputInterface $output = null )
$app Silex\Application
$output Symfony\Component\Console\Output\OutputInterface
    public function __construct(Silex\Application $app, OutputInterface $output = null)
    {
        $this->app = $app;
        $this->output = $output;
        $this->repository = $this->app['storage']->getRepository('Bolt\\Storage\\Entity\\Cron');
    }