Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
FirstUpperCase.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\contents\transformation\transformers
;
4
5
use
Ubiquity\contents\transformation\TransformerViewInterface
;
6
16
class
FirstUpperCase
implements
TransformerViewInterface
{
17
18
public
static
function
toView
($value) {
19
if
($value !=
null
)
20
return \ucfirst ( $value );
21
}
22
}
Ubiquity\contents\transformation\transformers\FirstUpperCase
Make a string first character uppercase.
Definition
FirstUpperCase.php:16
Ubiquity\contents\transformation\transformers\FirstUpperCase\toView
static toView($value)
Transforms normalized data to view data.
Definition
FirstUpperCase.php:18
Ubiquity\contents\transformation\TransformerViewInterface
Transform an instance for being displayed in a view.
Definition
TransformerViewInterface.php:15
Ubiquity\contents\transformation\transformers
Definition
Crypt.php:2
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity
src
Ubiquity
contents
transformation
transformers
FirstUpperCase.php
Generated on Sun Dec 10 2023 15:04:13 for
Ubiquity
by
doxygen
1.9.8