Bravo3\Orm\Mappers\Yaml\YamlMapWriter::flush PHP Method

flush() public method

Compile and write all processed metadata
public flush ( ) : void
return void
    public function flush()
    {
        if ($this->output_fn && $this->main_buffer) {
            $this->writeYaml($this->output_fn, $this->main_buffer);
        }
        foreach ($this->sub_buffers as $fn => $buffer) {
            $this->writeYaml($fn, $buffer);
        }
        $this->purge();
    }