for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the feed-io package.
*
* (c) Alexandre Debril <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FeedIo\Feed\Item;
class Media implements MediaInterface
{
/**
* @var string
protected $type;
protected $url;
* @var int
protected $length;
* @return string
public function getType()
return $this->type;
}
* @param string $type
* @return $this
public function setType($type)
$this->type = $type;
return $this;
public function getUrl()
return $this->url;
* @param string $url
public function setUrl($url)
$this->url = $url;
public function getLength()
return $this->length;
* @param string $length
public function setLength($length)
$this->length = intval($length);