W3cubDocs

/Laravel 5.3

IsChecked

class IsChecked extends FormFieldConstraint (View source)

Methods

string toString()

Get a string representation of the object.

from PageConstraint
void __construct(string $selector)

Create a new constraint instance.

bool matches(Crawler|string $crawler)

Determine if the checkbox is checked.

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)

Create a new constraint instance.

Parameters

string $selector

Return Value

void

bool matches(Crawler|string $crawler)

Determine if the checkbox is checked.

Parameters

Crawler|string $crawler

Return Value

bool

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Foundation/Testing/Constraints/IsChecked.html