PHP Class Pinq\Utilities

Author: Elliot Levin ([email protected])
Show file Open project: timetoogo/pinq Class Usage Examples

Public Methods

Method Description
getTypeOrClass ( mixed $value ) : string Returns the type or class of the supplied function
isIterable ( mixed $value ) : boolean Returns whether the value is iterable

Private Methods

Method Description
__construct ( )

Method Details

getTypeOrClass() public static method

Returns the type or class of the supplied function
public static getTypeOrClass ( mixed $value ) : string
$value mixed The value
return string The type or class

isIterable() public static method

Returns whether the value is iterable
public static isIterable ( mixed $value ) : boolean
$value mixed The value
return boolean Whether the value is iterable