alexdebril/feed-io

View on GitHub
src/FeedIo/Feed/Item/AuthorInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

declare(strict_types=1);

namespace FeedIo\Feed\Item;

/**
 * Describe a Author instance
 *
 */
interface AuthorInterface
{
    /**
     * @return string
     */
    public function getName(): ?string;

    /**
     * @param  string $name
     * @return AuthorInterface
     */
    public function setName(string $name = null): AuthorInterface;

    /**
     * @return string
     */
    public function getUri(): ?string;

    /**
     * @param  string $uri
     * @return AuthorInterface
     */
    public function setUri(string $uri = null): AuthorInterface;

    /**
     * @return string
     */
    public function getEmail(): ?string;

    /**
     * @param  string $email
     * @return AuthorInterface
     */
    public function setEmail(string $email = null): AuthorInterface;
}