Source of file IsRssFeed.php

Size: 0,905 Bytes - Last Modified: 2020-12-04T00:31:05+00:00

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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
<?php


namespace Lukaswhite\PodcastFeedParser\Traits;

use Lukaswhite\PodcastFeedParser\Artwork;

trait IsRssFeed
{
    /**
     * @var string
     */
    protected $generator;

    /**
     * @var \DateTime
     */
    protected $lastBuildDate;

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

    /**
     * @param string $generator
     * @return IsRssFeed
     */
    public function setGenerator($generator)
    {
        $this->generator = $generator;
        return $this;
    }

    /**
     * @return \DateTime
     */
    public function getLastBuildDate()
    {
        return $this->lastBuildDate;
    }

    /**
     * @param \DateTime $lastBuildDate
     * @return IsRssFeed
     */
    public function setLastBuildDate($lastBuildDate)
    {
        $this->lastBuildDate = $lastBuildDate;
        return $this;
    }

}