FluidXml\FluidSaveTrait::save PHP Méthode

save() public méthode

public save ( $file, $strip = false )
    public function save($file, $strip = false)
    {
        $status = \file_put_contents($file, $this->xml($strip));
        if (!$status) {
            throw new \Exception("The file '{$file}' is not writable.");
        }
        return $this;
    }
FluidSaveTrait