We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1e499a commit 1e56786Copy full SHA for 1e56786
src/Filter/LowerCaseFirst.php
@@ -0,0 +1,19 @@
1
+<?php
2
+
3
+/**
4
+ * @see https://github.com/open-code-modeling/php-filter for the canonical source repository
5
+ * @copyright https://github.com/open-code-modeling/php-filter/blob/master/COPYRIGHT.md
6
+ * @license https://github.com/open-code-modeling/php-filter/blob/master/LICENSE.md MIT License
7
+ */
8
9
+declare(strict_types=1);
10
11
+namespace OpenCodeModeling\Filter\Filter;
12
13
+final class LowerCaseFirst extends AbstractFilter
14
+{
15
+ public function __invoke(string $value): string
16
+ {
17
+ return \lcfirst(($this->filter)($value));
18
+ }
19
+}
0 commit comments