protected matchValue ( string $value ) : boolean | ||
$value | string | value to match, usually the current query path segment(s) |
리턴 | 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;
}