bool matches(Crawler|string $crawler) Check if the input contains the expected value. Parameters Crawler|string $crawler Return Value bool
string getInputOrTextAreaValue(Crawler $crawler) Get the value of an input or textarea. Parameters Crawler $crawler Return Value string Exceptions PHPUnit_Framework_ExpectationFailedException
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.
void __construct(string $text) Create a new constraint instance. Parameters string $text Return Value void
string toString() Returns a string representation of the object. Return Value string
HasText class HasText extends PageConstraint (View source) Methods string toString() Returns a string representation of the object. void __construct(string $text) Create a new constraint instance.
void __construct(string $source) Create a new constraint instance. Parameters string $source Return Value void
HasSource class HasSource extends PageConstraint (View source) Methods string toString() Returns a string representation of the object. void __construct(string $source) Create a new constraint instance.
void __construct(Builder $query, Model $parent, string $foreignKey, string $localKey) Create a new has one or many relationship instance. Parameters Builder $query Model $parent string $foreignKey string $localKey Return Value void
Page 593 of 996