. */ /** * Doctrine_Object * * @package Doctrine * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @category Object Relational Mapping * @link www.phpdoctrine.com * @since 1.0 * @version $Revision$ * @author Konsta Vesterinen */ class Doctrine_Object { /** * @var Doctrine_Null $null Doctrine_Null object, used for extremely fast null value checking */ protected static $_null; /** * initNullObject * initializes the null object * * @param Doctrine_Null $null * @return void */ public static function initNullObject(Doctrine_Null $null) { self::$_null = $null; } /** * getNullObject * returns the null object associated with this object * * @return Doctrine_Null */ public static function getNullObject() { return self::$_null; } }