PHP 클래스 Gush\Util\StringUtil

Some methods in this class are borrowed from the Doctrine project.
파일 보기 프로젝트 열기: gushphp/gush 1 사용 예제들

공개 메소드들

메소드 설명
camelize ( string $word ) : string Camelizes a word.
concatWords ( string $word ) : string Concatenates the words to an uppercased wording.
splitLines ( string $input ) : array

메소드 상세

camelize() 공개 정적인 메소드

This uses the classify() method and turns the first character to lowercase.
public static camelize ( string $word ) : string
$word string The word to camelize.
리턴 string The camelized word.

concatWords() 공개 정적인 메소드

Converts 'git flow', 'git-flow' and 'git_flow' to 'GitFlow'.
public static concatWords ( string $word ) : string
$word string The word to transform.
리턴 string The transformed word.

splitLines() 공개 정적인 메소드

public static splitLines ( string $input ) : array
$input string
리턴 array