mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 15:25:45 +01:00
Most changes was made by php-cs-fixer. Also removes unused `RecursiveTreeIterator` class.
10 lines
210 B
PHP
10 lines
210 B
PHP
<?php
|
|
namespace Respect\Validation\Rules;
|
|
|
|
class Lowercase extends AbstractRule
|
|
{
|
|
public function validate($input)
|
|
{
|
|
return $input === mb_strtolower($input, mb_detect_encoding($input));
|
|
}
|
|
}
|