alexdebril/feed-io

View on GitHub
src/FeedIo/Feed/Node/CategoryInterface.php

Summary

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

declare(strict_types=1);

namespace FeedIo\Feed\Node;

/**
 * Describe a Category instance
 *
 */
interface CategoryInterface
{
    /**
     * @return null|string
     */
    public function getTerm(): ?string;

    /**
     * @param string|null $term
     * @return CategoryInterface
     */
    public function setTerm(string $term = null): CategoryInterface;

    /**
     * @return null|string
     */
    public function getScheme(): ?string;

    /**
     * @param string|null $scheme
     * @return CategoryInterface
     */
    public function setScheme(string $scheme = null): CategoryInterface;

    /**
     * @return null|string
     */
    public function getLabel(): ?string;

    /**
     * @param string|null $label
     * @return CategoryInterface
     */
    public function setLabel(string $label = null): CategoryInterface;
}