for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ubiquity\contents\transformation\transformers;
use Ubiquity\contents\transformation\TransformerViewInterface;
/**
* Make a string first character uppercase.
* Ubiquity\contents\transformation\transformers$FirstUpperCase
* This class is part of Ubiquity
*
* @author jcheron <[email protected]>
* @version 1.0.0
* @since 2.1.1
*/
class FirstUpperCase implements TransformerViewInterface {
public static function toView($value) {
if ($value != null)
return ucfirst ( $value );
}