Symfony\Cmf\Bundle\RoutingBundle\Model\Route::getOptions PHP Method

getOptions() public method

Handling the missing default 'compiler_class'
See also: setOptions
public getOptions ( )
    public function getOptions()
    {
        $options = parent::getOptions();
        if (!array_key_exists('compiler_class', $options)) {
            $options['compiler_class'] = 'Symfony\\Component\\Routing\\RouteCompiler';
        }
        foreach ($options as $key => $value) {
            if ($this->isBooleanOption($key)) {
                $options[$key] = (bool) $value;
            }
        }
        return $options;
    }