consolidation/robo
Robo is a modern PHP task runner for automating common development workflows. Define tasks in a RoboFile with a clean OO API to run tests, build assets, deploy, and more. Extensible via plugins, with useful built-in tasks and CLI tooling.
Rotates a log (or any other) file
<?php
$this->taskRotateLog(['logfile.log'])->run();
// or use shortcut
$this->_rotateLog(['logfile.log']);
?>
keep($keep)
param int $keep
chmod($chmod)
param int $chmod
setOutput($output)
param \Symfony\Component\Console\Output\OutputInterface $output
Truncates a log (or any other) file
<?php
$this->taskTruncateLog(['logfile.log'])->run();
// or use shortcut
$this->_truncateLog(['logfile.log']);
?>
chmod($chmod)
param int $chmod
setOutput($output)
param \Symfony\Component\Console\Output\OutputInterface $output
How can I help you explore Laravel packages today?