/** * set_info * * Sets the data associated with an object in the Collection * if no $info is supplied, then the spl_object_hash() is used * * @access public * @param object $object * @param mixed $info * @return bool */ public function set_info($object, $info = null) { $info = empty($info) && $object instanceof $this->interface ? $object->name : $info; return parent::set_info($object, $info); }