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

getOption() public method

Handling the missing default 'compiler_class'
See also: setOptions
public getOption ( $name )
    public function getOption($name)
    {
        $option = parent::getOption($name);
        if (null === $option && 'compiler_class' === $name) {
            return 'Symfony\\Component\\Routing\\RouteCompiler';
        }
        if ($this->isBooleanOption($name)) {
            return (bool) $option;
        }
        return $option;
    }