Neos\Flow\Mvc\Routing\IdentityRoutePart::matchValue PHP Method

matchValue() protected method

If the value is empty, FALSE is returned. Otherwise the ObjectPathMappingRepository is asked for a matching ObjectPathMapping. If that is found the identifier is stored in $this->value, otherwise this route part does not match.
protected matchValue ( string $value ) : boolean
$value string value to match, usually the current query path segment(s)
return boolean TRUE if value could be matched successfully, otherwise FALSE
    protected function matchValue($value)
    {
        if ($value === null || $value === '') {
            return false;
        }
        $identifier = $this->getObjectIdentifierFromPathSegment($value);
        if ($identifier === null) {
            return false;
        }
        $this->value = ['__identity' => $identifier];
        return true;
    }