Refactored structure
This commit is contained in:
parent
963225382c
commit
e5164ae1dd
329 changed files with 277 additions and 457 deletions
29
src/PHPCI/Helper/Build.php
Normal file
29
src/PHPCI/Helper/Build.php
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
/**
|
||||
* PHPCI - Continuous Integration for PHP
|
||||
*
|
||||
* @copyright Copyright 2014, Block 8 Limited.
|
||||
* @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md
|
||||
* @link https://www.phptesting.org/
|
||||
*/
|
||||
|
||||
namespace PHPCI\Helper;
|
||||
|
||||
/**
|
||||
* User Helper - Provides access to logged in user information in views.
|
||||
* @author Dan Cryer <dan@block8.co.uk>
|
||||
* @package PHPCI
|
||||
* @subpackage Web
|
||||
*/
|
||||
class Build
|
||||
{
|
||||
/**
|
||||
* Returns a more human-friendly version of a plugin name.
|
||||
* @param $name
|
||||
* @return mixed
|
||||
*/
|
||||
public function formatPluginName($name)
|
||||
{
|
||||
return str_replace('Php', 'PHP', ucwords(str_replace('_', ' ', $name)));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue