Imdb\Title::year PHP Method

year() public method

Get year
See also: IMDB page / (TitlePage)
public year ( ) : string
return string year
    public function year()
    {
        if ($this->main_year == -1) {
            $this->title_year();
        }
        return $this->main_year;
    }