class IsSelected extends FormFieldConstraint (View source)

Methods

string
toString()

Get a string representation of the object.

void
__construct( string $selector, mixed $value)

Create a new constraint instance.

array
getSelectedValue( Crawler $crawler)

Get the selected value of a select field or radio group.

Details

string toString()

Get a string representation of the object.

Placeholder method to avoid forcing definition of this method.

Return Value

string

void __construct( string $selector, mixed $value)

Create a new constraint instance.

Parameters

string $selector
mixed $value

Return Value

void

at line line 40
array getSelectedValue( Crawler $crawler)

Get the selected value of a select field or radio group.

Parameters

Crawler $crawler

Return Value

array

Exceptions

PHPUnit_Framework_ExpectationFailedException