Source of file HasTitles.php

Size: 0,770 Bytes - Last Modified: 2020-12-03T02:41:46+00:00

/home/vagrant/Code/projects/podcast-feed-parser/src/Traits/HasTitles.php

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
<?php


namespace Lukaswhite\PodcastFeedParser\Traits;

trait HasTitles
{
    /**
     * @var string
     */
    protected $title;

    /**
     * @var string
     */
    protected $subtitle;

    /**
     * @return string
     */
    public function getTitle()
    {
        return $this->title;
    }

    /**
     * @param string $title
     * @return self
     */
    public function setTitle($title)
    {
        $this->title = $title;
        return $this;
    }

    /**
     * @return string
     */
    public function getSubtitle()
    {
        return $this->subtitle;
    }

    /**
     * @param string $subtitle
     * @return self
     */
    public function setSubtitle($subtitle)
    {
        $this->subtitle = $subtitle;
        return $this;
    }
}