PHP 클래스 Altax\Util\Str

파일 보기 프로젝트 열기: kohkimakimoto/altax 1 사용 예제들

공개 메소드들

메소드 설명
camel ( string $value ) : string Convert a value to camel case.
snake ( string $value, string $delimiter = '_' ) : string Convert a string to snake case.
studly ( string $value ) : string Convert a value to studly caps case.

메소드 상세

camel() 공개 정적인 메소드

Convert a value to camel case.
public static camel ( string $value ) : string
$value string
리턴 string

snake() 공개 정적인 메소드

Convert a string to snake case.
public static snake ( string $value, string $delimiter = '_' ) : string
$value string
$delimiter string
리턴 string

studly() 공개 정적인 메소드

Convert a value to studly caps case.
public static studly ( string $value ) : string
$value string
리턴 string