Volkszaehler\Router::__construct PHP Method

__construct() public method

Constructor
public __construct ( )
    public function __construct()
    {
        // handle errors as exceptions
        ErrorHandler::register();
        // views
        if (class_exists('\\JpGraph\\JpGraph')) {
            foreach (array('png', 'jpeg', 'jpg', 'gif') as $format) {
                self::$viewMapping[$format] = 'Volkszaehler\\View\\JpGraph';
            }
        }
    }