for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
/**
* This file is part of the Tmdb package.
*
* (c) Vincent Faliès <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* @author Vincent Faliès <[email protected]>
* @copyright Copyright (c) 2017
*/
namespace VfacTmdb\Traits\Results;
* Trait with methods for Show (Movie & TVShow)
* @package Tmdb
trait ShowTrait
{
* Id
* @var int
protected $id;
* Overview
* @var string
protected $overview;
* Release date
protected $release_date;
* Original title
protected $original_title;
* Title
protected $title;
* Get show ID
* @return int
public function getId() : int
return (int) $this->id;
}
* Get show overview
* @return string
public function getOverview() : string
return $this->overview;
* Get show first air date
public function getReleaseDate() : string
return $this->release_date;
* Get show original name
public function getOriginalTitle() : string
return $this->original_title;
* Get show name
public function getTitle() : string
return $this->title;