JamesMoss\Flywheel\NestedRepository::write PHP 메소드

write() 보호된 메소드

protected write ( $path, $contents )
    protected function write($path, $contents)
    {
        // ensure path exists by making directories beforehand
        if (!file_exists(dirname($path))) {
            mkdir(dirname($path), 0777, true);
        }
        return parent::write($path, $contents);
    }