W3cubDocs

/Laravel 5.2

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.

Details

string toString()

Returns a string representation of the object.

Return Value

string

void __construct( string $text)

Create a new constraint instance.

Parameters

string $text

Return Value

void

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