app\models\File::isChanged PHP Метод

isChanged() публичный Метод

Determine if the file is changed (its Song record is found, but the timestamp is different).
public isChanged ( ) : boolean
Результат boolean
    public function isChanged()
    {
        return !$this->isNew() && $this->song->mtime !== $this->mtime;
    }