public function get($route)
    {
        if (false === $this->has($route)) {
            return null;
        }

        return $this->generators[$route];
    }
public function get($route)
    {
        if (false === $this->has($route)) {
            return null;
        }

        return $this->generators[$route];
    }
public function get ( $ route ) { if ( false === $ this -> has ( $ route ) ) { return null ; } return $ this -> generators [ $ route ] ; }
Returns the generator for the given route or `null` if no generator exists.

@param string $route Name of a route.

@return GeneratorInterface Generator for the given route or `null` if no generator exists.
Returns the generator for the given route or null if no generator exists .