public function save()
    {
        $data = $this->arrayCache->getData();

        // Do save in case we have at least one change in configuration
        if ($this->arraySignature->hasChanged($data)) {
            if (!$this->write()) {
                return false;
            }
        }

        return true;
    }
public function save()
    {
        $data = $this->arrayCache->getData();

        // Do save in case we have at least one change in configuration
        if ($this->arraySignature->hasChanged($data)) {
            if (!$this->write()) {
                return false;
            }
        }

        return true;
    }
public function save ( ) { $ data = $ this -> arrayCache -> getData ( ) ; // Do save in case we have at least one change in configuration if ( $ this -> arraySignature -> hasChanged ( $ data ) ) { if ( ! $ this -> write ( ) ) { return false ; } } return true ; }
Saves cache data if there's at least one change

@return boolean
Saves cache data if there s at least one change