fruffl icon

hashaddr

fruffl | 02/26/13 06:57:13 PM UTC | 0 ⭐ | 275 👁️ | Never ⏰ | []
PHP |

270 B

|

None

|

0 👍

/

0 👎

    CLASS ADV
    {
            CONST __GC  = __CLASS__;
            private static  $__gc       = [];
 
            protected function createHashAddr(array $__defineTypes = [])
            {
                $c = get_called_class();
 
                return $c === static::__GC ? Spl::nameWithHash(static::__GC, spl_object_hash($this)) : $c;
            }

Comments