Illuminate\Database\Eloquent\Model::isDateCastable PHP 메소드

isDateCastable() 보호된 메소드

Determine whether a value is Date / DateTime castable for inbound manipulation.
protected isDateCastable ( string $key ) : boolean
$key string
리턴 boolean
    protected function isDateCastable($key)
    {
        return $this->hasCast($key, ['date', 'datetime']);
    }
Model