public function hasChanges()
    {
        if ($this->hasChanges) {
            return $this->hasChanges;
        }

        $this->hasChanges = count($this->newResources) > 0 || count($this->deletedResources) > 0 || count($this->updatedResources) > 0;

        return $this->hasChanges;
    }
public function hasChanges()
    {
        if ($this->hasChanges) {
            return $this->hasChanges;
        }

        $this->hasChanges = count($this->newResources) > 0 || count($this->deletedResources) > 0 || count($this->updatedResources) > 0;

        return $this->hasChanges;
    }
public function hasChanges ( ) { if ( $ this -> hasChanges ) { return $ this -> hasChanges ; } $ this -> hasChanges = count ( $ this -> newResources ) > 0 || count ( $ this -> deletedResources ) > 0 || count ( $ this -> updatedResources ) > 0 ; return $ this -> hasChanges ; }
Has any change in resources?

@return bool
Has any change in resources?