public \Joomla\CMS\Feed\Feed
addContributor
(mixed $name, mixed $email, mixed $uri = null, mixed $type = null)
/**
 * Method to add a contributor to the feed object.
 *
 * @param   string  $name   The full name of the person to add.
 * @param   string  $email  The email address of the person to add.
 * @param   string  $uri    The optional URI for the person to add.
 * @param   string  $type   The optional type of person to add.
 *
 * @return  Feed
 *
 * @since   3.1.4
 */
public function addContributor($name, $email, $uri = null, $type = null)
{
    $contributor = new FeedPerson($name, $email, $uri, $type);
    // If the new contributor already exists then there is nothing to do, so just return.
    foreach ($this->properties['contributors'] as $c) {
        if ($c == $contributor) {
            return $this;
        }
    }
    // Add the new contributor.
    $this->properties['contributors'][] = $contributor;
    return $this;
}