Returns the first error of the specified attribute.
public getFirstError ( string $attribute ) : string | ||
$attribute | string | attribute name. |
Результат | string | the error message. Null is returned if no error. |
public getFirstError ( string $attribute ) : string | ||
$attribute | string | attribute name. |
Результат | string | the error message. Null is returned if no error. |