method putContents documentation in bbn\File\System

function(string $file, string $content, bool $append = false) { $path = X::dirname($file); if ($this->check() && $this->isDir($path)) { $real = $this->getRealPath($path) . '/'; if ($append && $this->exists($file)) { return (bool)file_put_contents($real . X::basename($file), $content, FILE_APPEND); } else { return (bool)file_put_contents($real . X::basename($file), $content); } } return false; }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.