PostIdCondition
class PostIdCondition implements ConditionInterface, UrlableInterface (View source)
Check against the current post's id.
Methods
__construct(integer $post_id)
Constructor
boolean
array
string
toUrl(array $arguments = [])
Convert to URL.
Details
at line 33
__construct(integer $post_id)
Constructor
at line 40
boolean
isSatisfied(RequestInterface $request)
Get whether the condition is satisfied
at line 47
array
getArguments(RequestInterface $request)
Get an array of arguments for use in request
at line 54
string
toUrl(array $arguments = [])
Convert to URL.