protected function findValueToResolve(array $routeValues)
    {
        if ($this->name === null || $this->name === '') {
            return null;
        }
        return ObjectAccess::getPropertyPath($routeValues, $this->name);
    }
protected function findValueToResolve(array $routeValues)
    {
        if ($this->name === null || $this->name === '') {
            return null;
        }
        return ObjectAccess::getPropertyPath($routeValues, $this->name);
    }
protected function findValueToResolve ( array $ routeValues ) { if ( $ this -> name === null || $ this -> name === '' ) { return null ; } return ObjectAccess :: getPropertyPath ( $ routeValues , $ this -> name ) ; }
Returns the route value of the current route part.
This method can be overridden by custom RoutePartHandlers to implement custom resolving mechanisms.

@param array $routeValues An array with key/value pairs to be resolved by Dynamic Route Parts.
@return string|array value to resolve.
@api
Returns the route value of the current route part . This method can be overridden by custom RoutePartHandlers to implement custom resolving mechanisms .