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

getIdentifier() public method

public getIdentifier ( ) : object
return object
    public function getIdentifier();

Usage Example

 /**
  * {@inheritdoc}
  */
 public function generate(RouteInterface $resource)
 {
     $this->defaults['id'] = $resource->getIdentifier()->getId();
     $this->defaults['_locale'] = $resource->getLocale();
     return new SymfonyRoute($resource->getPath(), $this->defaults, $this->requirements, $this->options);
 }
All Usage Examples Of WellCommerce\Bundle\RoutingBundle\Entity\RouteInterface::getIdentifier