WellCommerce\Bundle\RoutingBundle\Entity\RouteInterface::getPath PHP Method

getPath() public method

public getPath ( ) : string
return string
    public function getPath() : string;

Usage Example

 /**
  * Returns a concatenated path
  *
  * @param RouteInterface $resource
  *
  * @return string
  */
 protected function getPath(RouteInterface $resource) : string
 {
     if (strlen($this->pattern)) {
         return $resource->getPath() . RouteGeneratorInterface::PATH_PARAMS_SEPARATOR . $this->pattern;
     }
     return $resource->getPath();
 }
All Usage Examples Of WellCommerce\Bundle\RoutingBundle\Entity\RouteInterface::getPath