PHP 클래스 YaLinqo\Functions

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

공개 프로퍼티들

프로퍼티 타입 설명
$blank Blank function: does nothing.
$compareInt callable Compare int function: returns the difference between the first and the second argument.
$compareIntReversed callable Compare int function reversed: returns the difference between the second and the first argument.
$compareLoose callable Compare loose function: returns -1, 0 or 1 based on == and > operators.
$compareLooseReversed callable Compare loose function reversed: returns 1, 0 or -1 based on == and > operators.
$compareStrict callable Compare strict function: returns -1, 0 or 1 based on === and > operators.
$compareStrictReversed callable Compare strict function reversed: returns 1, 0 or -1 based on === and > operators.
$false False function: returns false.
$identity Identity function: returns the only argument.
$key Key function: returns the second argument of two.
$true True function: returns true.
$value Value function: returns the first argument of two.

공개 메소드들

메소드 설명
increment ( ) : callable Increment function: returns incremental integers starting from 0.
init ( )

메소드 상세

increment() 공개 정적인 메소드

Increment function: returns incremental integers starting from 0.
public static increment ( ) : callable
리턴 callable

init() 공개 정적인 메소드

public static init ( )

프로퍼티 상세

$blank 공개적으로 정적으로 프로퍼티

Blank function: does nothing.
public static $blank

$compareInt 공개적으로 정적으로 프로퍼티

Compare int function: returns the difference between the first and the second argument.
public static callable $compareInt
리턴 callable

$compareIntReversed 공개적으로 정적으로 프로퍼티

Compare int function reversed: returns the difference between the second and the first argument.
public static callable $compareIntReversed
리턴 callable

$compareLoose 공개적으로 정적으로 프로퍼티

Compare loose function: returns -1, 0 or 1 based on == and > operators.
public static callable $compareLoose
리턴 callable

$compareLooseReversed 공개적으로 정적으로 프로퍼티

Compare loose function reversed: returns 1, 0 or -1 based on == and > operators.
public static callable $compareLooseReversed
리턴 callable

$compareStrict 공개적으로 정적으로 프로퍼티

Compare strict function: returns -1, 0 or 1 based on === and > operators.
public static callable $compareStrict
리턴 callable

$compareStrictReversed 공개적으로 정적으로 프로퍼티

Compare strict function reversed: returns 1, 0 or -1 based on === and > operators.
public static callable $compareStrictReversed
리턴 callable

$false 공개적으로 정적으로 프로퍼티

False function: returns false.
public static $false

$identity 공개적으로 정적으로 프로퍼티

Identity function: returns the only argument.
public static $identity

$key 공개적으로 정적으로 프로퍼티

Key function: returns the second argument of two.
public static $key

$true 공개적으로 정적으로 프로퍼티

True function: returns true.
public static $true

$value 공개적으로 정적으로 프로퍼티

Value function: returns the first argument of two.
public static $value