PHP 클래스 Ouzo\Utilities\Functions

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

공개 메소드들

메소드 설명
append ( $suffix )
call ( $function, $argument )
compose ( $functionA, $functionB ) : callable Returns the composition of two functions.
constant ( $value )
contains ( $element )
endsWith ( $suffix )
equals ( $object )
extract ( null $type = null ) : Ouzo\Utilities\NonCallableExtractor
extractExpression ( $selector, $accessPrivate = false )
extractField ( $name, $accessPrivate = false )
extractFieldRecursively ( $names, $accessPrivate = false )
extractId ( )
formatDateTime ( $format = Date::DEFAULT_TIME_FORMAT )
identity ( )
inArray ( $array )
isArray ( )
isInstanceOf ( $type )
not ( $predicate )
notBlank ( )
notEmpty ( )
notEquals ( $object )
notInArray ( $array )
notNull ( )
prepend ( $prefix )
random ( $min, $max = null )
removePrefix ( $prefix )
startsWith ( $prefix )
surroundWith ( $character )
throwException ( Exception $exception )
toString ( )
trim ( )

메소드 상세

append() 공개 정적인 메소드

public static append ( $suffix )

call() 공개 정적인 메소드

public static call ( $function, $argument )

compose() 공개 정적인 메소드

composition is defined as the function h such that h(a) == A(B(a)) for each a.
public static compose ( $functionA, $functionB ) : callable
$functionA
$functionB
리턴 callable

constant() 공개 정적인 메소드

public static constant ( $value )

contains() 공개 정적인 메소드

public static contains ( $element )

endsWith() 공개 정적인 메소드

public static endsWith ( $suffix )

equals() 공개 정적인 메소드

public static equals ( $object )

extract() 공개 정적인 메소드

public static extract ( null $type = null ) : Ouzo\Utilities\NonCallableExtractor
$type null
리턴 Ouzo\Utilities\NonCallableExtractor

extractExpression() 공개 정적인 메소드

public static extractExpression ( $selector, $accessPrivate = false )

extractField() 공개 정적인 메소드

public static extractField ( $name, $accessPrivate = false )

extractFieldRecursively() 공개 정적인 메소드

public static extractFieldRecursively ( $names, $accessPrivate = false )

extractId() 공개 정적인 메소드

public static extractId ( )

formatDateTime() 공개 정적인 메소드

public static formatDateTime ( $format = Date::DEFAULT_TIME_FORMAT )

identity() 공개 정적인 메소드

public static identity ( )

inArray() 공개 정적인 메소드

public static inArray ( $array )

isArray() 공개 정적인 메소드

public static isArray ( )

isInstanceOf() 공개 정적인 메소드

public static isInstanceOf ( $type )

not() 공개 정적인 메소드

public static not ( $predicate )

notBlank() 공개 정적인 메소드

public static notBlank ( )

notEmpty() 공개 정적인 메소드

public static notEmpty ( )

notEquals() 공개 정적인 메소드

public static notEquals ( $object )

notInArray() 공개 정적인 메소드

public static notInArray ( $array )

notNull() 공개 정적인 메소드

public static notNull ( )

prepend() 공개 정적인 메소드

public static prepend ( $prefix )

random() 공개 정적인 메소드

public static random ( $min, $max = null )

removePrefix() 공개 정적인 메소드

public static removePrefix ( $prefix )

startsWith() 공개 정적인 메소드

public static startsWith ( $prefix )

surroundWith() 공개 정적인 메소드

public static surroundWith ( $character )

throwException() 공개 정적인 메소드

public static throwException ( Exception $exception )
$exception Exception

toString() 공개 정적인 메소드

public static toString ( )

trim() 공개 정적인 메소드

public static trim ( )