Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\RedirectRoute::getPath PHP Method

getPath() public method

public getPath ( )
    public function getPath()
    {
        $pattern = parent::getPath();
        if ($this->getOption('add_trailing_slash') && '/' !== $pattern[strlen($pattern) - 1]) {
            $pattern .= '/';
        }
        return $pattern;
    }