public function cacheLess($path, $styles) { if (file_put_contents($path, $styles) === false) { error_log("Unable to write \"{$path}\"."); return false; } return true; }