app\models\File::isNewOrChanged PHP Method

isNewOrChanged() public method

Determine if the file is new or changed.
public isNewOrChanged ( ) : boolean
return boolean
    public function isNewOrChanged()
    {
        return $this->isNew() || $this->isChanged();
    }