-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_Lowercase_.php
More file actions
43 lines (39 loc) · 788 Bytes
/
_Lowercase_.php
File metadata and controls
43 lines (39 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* _Chain_ ©2015 Julien <youlweb@hotmail.com>
* Refer to the LICENSE file for the full copyright and license information.
* @package chain/string
*/
namespace _Chain_\_String_;
use _Chain_\_AbsLink_;
use _Chain_\I_O;
use _Chain_\Type;
/**
* Make a string lowercase.
*
* @author Julien <youlweb@hotmail.com>
*/
class _Lowercase_ extends _AbsLink_
{
/**
* Make a string lowercase.
*
* I/O contract
* ------------
* <pre>
* I string String to process.
* O string Processed string.
* X no
* </pre>
*
* @param I_O $IO
* @return I_O
*/
public function EXE(I_O $IO)
{
return $IO->_O(
strtolower(
$IO->I_(Type::STRING)
));
}
}