Metadata/PageTreeTrait.php
private function getRoutePathProperty(StructureMetadata $metadata)
    {
        if ($metadata->hasTag(RoutableSubscriber::TAG_NAME)) {
            return $metadata->getPropertyByTagName(RoutableSubscriber::TAG_NAME);
        }

        if (!$metadata->hasProperty(RoutableSubscriber::ROUTE_FIELD)) {
            return null;
        }

        return $metadata->getProperty(RoutableSubscriber::ROUTE_FIELD);
    }
private function getRoutePathProperty(StructureMetadata $metadata)
    {
        if ($metadata->hasTag(RoutableSubscriber::TAG_NAME)) {
            return $metadata->getPropertyByTagName(RoutableSubscriber::TAG_NAME);
        }

        if (!$metadata->hasProperty(RoutableSubscriber::ROUTE_FIELD)) {
            return null;
        }

        return $metadata->getProperty(RoutableSubscriber::ROUTE_FIELD);
    }
private function getRoutePathProperty ( StructureMetadata $ metadata ) { if ( $ metadata -> hasTag ( RoutableSubscriber :: TAG_NAME ) ) { return $ metadata -> getPropertyByTagName ( RoutableSubscriber :: TAG_NAME ) ; } if ( ! $ metadata -> hasProperty ( RoutableSubscriber :: ROUTE_FIELD ) ) { return null ; } return $ metadata -> getProperty ( RoutableSubscriber :: ROUTE_FIELD ) ; }
Returns property-metadata for route-path property.

@param StructureMetadata $metadata

@return null|PropertyMetadata
Returns property - metadata for route - path property .