HasValue (Foundation\Testing)
HasValue
class HasValue extends FormFieldConstraint (View source)
Methods
string | toString() Get a string representation of the object. | from PageConstraint |
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
string toString()
Get a string representation of the object.
Placeholder method to avoid forcing definition of this method.
void __construct(string $selector, mixed $value)
Create a new constraint instance.
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Foundation/Testing/Constraints/HasValue.html