HasValue
class HasValue extends FormFieldConstraint (View source)
Methods
void
__construct(
string $selector,
mixed $value)
Create a new constraint instance.
from FormFieldConstraint
bool
matches(
Crawler|string $crawler)
Check if the input contains the expected value.
string
getInputOrTextAreaValue(
Crawler $crawler)
Get the value of an input or textarea.
Details
in PageConstraint at line line 110
string
toString()
Get a string representation of the object.
Placeholder method to avoid forcing definition of this method.
in FormFieldConstraint at line line 30
void
__construct(
string $selector,
mixed $value)
Create a new constraint instance.
at line line 25
bool
matches(
Crawler|string $crawler)
Check if the input contains the expected value.
at line line 40
string
getInputOrTextAreaValue(
Crawler $crawler)
Get the value of an input or textarea.