public function save()
    {
        $this->load();
        // Do the work in case we have only changed hash
        if ($this->isChanged()) {
            @chmod($this->path, 0777);
            return file_put_contents($this->path, $this->fileType->render($this->config));
        } else {
            return true;
        }
    }
public function save()
    {
        $this->load();
        // Do the work in case we have only changed hash
        if ($this->isChanged()) {
            @chmod($this->path, 0777);
            return file_put_contents($this->path, $this->fileType->render($this->config));
        } else {
            return true;
        }
    }
public function save ( ) { $ this -> load ( ) ; // Do the work in case we have only changed hash if ( $ this -> isChanged ( ) ) { @ chmod ( $ this -> path , 0777 ) ; return file_put_contents ( $ this -> path , $ this -> fileType -> render ( $ this -> config ) ) ; } else { return true ; } }
Saves the content to the disk

@param array $array
@return boolean Depending on success
Saves the content to the disk