Completed
Push — master ( 479b8e...e72ae9 )
by Richard
02:38
created

StringFormatter::html()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 4
nc 1
nop 1
1
<?php
2
/* @description     Transformation Style Sheets - Revolutionising PHP templating    *
3
 * @author          Tom Butler [email protected]                                             *
4
 * @copyright       2015 Tom Butler <[email protected]> | https://r.je/                      *
5
 * @license         http://www.opensource.org/licenses/bsd-license.php  BSD License *
6
 * @version         1.0                                                             */
7
namespace Transphporm\Formatter;
8
class StringFormatter {
9
	public function uppercase($val) {
10
		return strtoupper($val);
11
	}
12
13
	public function lowercase($val) {
14
		return strtolower($val);
15
	}
16
17
	public function titlecase($val) {
18
		return ucwords($val);
19
	}
20
}
21