Back to Feed class

Method offsetGet

public mixed
offsetGet
(mixed $offset)
Returns the value at specified offset.
Parameters
  • mixed $offset The offset to retrieve.
Returns
  • mixed The value at the offset.
Since
  • 3.1.4
-
  • \Joomla\CMS\Feed\ArrayAccess::offsetGet()
Class: Feed
Project: Joomla

Method offsetGet - Source code

/**
 * Returns the value at specified offset.
 *
 * @param   mixed  $offset  The offset to retrieve.
 *
 * @return  mixed  The value at the offset.
 *
 * @see     ArrayAccess::offsetGet()
 * @since   3.1.4
 */
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
    return $this->entries[$offset];
}