public function get($object)
    {
        $hash = spl_object_hash($object);

        if (isset($this->data[$hash])) {
            return $this->data[$hash];
        }

        return null;
    }
public function get($object)
    {
        $hash = spl_object_hash($object);

        if (isset($this->data[$hash])) {
            return $this->data[$hash];
        }

        return null;
    }
public function get ( $ object ) { $ hash = spl_object_hash ( $ object ) ; if ( isset ( $ this -> data [ $ hash ] ) ) { return $ this -> data [ $ hash ] ; } return null ; }
Returns the data associated to the given object.

If the given object is not in the storage, or has no associated data, NULL is returned.

@param object $object The object.

@return mixed The stored data.
Returns the data associated to the given object .