. */ /** * Doctrine_Null * * Simple empty class representing a null value. * Used for extra fast null value testing with isset() rather than array_key_exists(). * * @package Doctrine * @subpackage Null * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.org * @since 1.0 * @version $Revision$ * @author Konsta Vesterinen */ // static initializer Doctrine_Null::$INSTANCE = new Doctrine_Null(); final class Doctrine_Null { public static $INSTANCE; public function __construct() {} public static function getInstance() { return self::$INSTANCE; } public function exists() { return false; } public function __toString() { return ''; } }