Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 354 Bytes

lower-case.md

File metadata and controls

22 lines (13 loc) · 354 Bytes

Lower Case Rule

Validate a String in Lower Case

public Intervention\Validation\Rules\Lowercase::__construct()

The given value must be all lower case letters.

Parameters

none

Example

use Intervention\Validation\Rules\Lowercase;

$validator = Validator::make($request->all(), [
    'attribute-key' => new Lowercase(),
]);