Back to Feed class

Method offsetUnset

public void
offsetUnset
(mixed $offset)
Unsets an offset.
Parameters
  • mixed $offset The offset to unset.
Returns
  • void
Since
  • 3.1.4
-
  • \Joomla\CMS\Feed\ArrayAccess::offsetUnset()
Class: Feed
Project: Joomla

Method offsetUnset - Source code

/**
 * Unsets an offset.
 *
 * @param   mixed  $offset  The offset to unset.
 *
 * @return  void
 *
 * @see     ArrayAccess::offsetUnset()
 * @since   3.1.4
 */
#[\ReturnTypeWillChange]
public function offsetUnset($offset)
{
    unset($this->entries[$offset]);
}