public function firstAirDateLte($date)
    {
        if ($date instanceof \DateTime) {
            $date = $date->format('Y-m-d');
        }

        $this->set('first_air_date.lte', $date);

        return $this;
    }
public function firstAirDateLte($date)
    {
        if ($date instanceof \DateTime) {
            $date = $date->format('Y-m-d');
        }

        $this->set('first_air_date.lte', $date);

        return $this;
    }
public function firstAirDateLte ( $ date ) { if ( $ date instanceof \ DateTime ) { $ date = $ date -> format ( 'Y-m-d' ) ; } $ this -> set ( 'first_air_date.lte' , $ date ) ; return $ this ; }
The maximum release to include. Expected format is YYYY-MM-DD.

@param  \DateTime|string $date
@return $this
The maximum release to include . Expected format is YYYY - MM - DD .