<?php
/**
 * Test cron event
 *
 * @author Denis Chenu <denis@sondages.pro>
 * @copyright 2016 Denis Chenu <http://www.sondages.pro>
 * @license WTFPL (Do What The Fuck You Want to Public License)
 * @version 0.0.1
 *
 */
class cronEvent extends \ls\pluginmanager\PluginBase
{

    static protected $name = 'cronEvent';
    static protected $description = 'Test of cron event';

    public function init()
    {
        $this->subscribe('cron');
    }

    public function cron()
    {
        echo "event happen\n";
    }
}
