\Phabstractic\Data\TypesNone

Null Class - Defines a NULL Object

Some functions can return null, false, empty, etc. but not indicate a failure. This object gives developers a class to use that defines a truly null variable. This way a function could return null, false, empty, etc. legitimately, and upon failure return new Null; Example usage: if ( $loader instanceof Types\Null ) ...

CHANGELOG

1.0: Created Null - May 10th, 2013 2.0: Reproduced Null for Primus - April 2nd, 2015 3.0: Formatted Null for inclusion in phabstractic Changed classname to None - July 7th, 2016 3.0.1: Added debuginfo magic method - July 17th, 2016

Summary

Methods
Properties
Constants
null()
__debugInfo()
$null
NULL
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

NULL

NULL

The NULL constant redefined in the object

Properties

$null

$null : 

This is the null variable defined in the null object

Type

Methods

null()

null() : null

Everything equals to null in Null

Returns

null

__debugInfo()

__debugInfo() 

Debug Info (var_dump)

Display debug info

Requires PHP 5.6+