sudo apt update
apt-get curl install
| <?php | |
| // Used in https://github.com/im4aLL/roolith-event | |
| class Event { | |
| private static $events = []; | |
| public static function listen($name, $callback) { | |
| self::$events[$name][] = $callback; | |
| } |
| ### KILL | |
| kill -9 $(pgrep -f phpstorm) | |
| ### CANHE ENVAROMENT | |
| service docker stop && service nginx start && service postgresql start && service php7.3-fpm start | |
| service nginx stop && service postgresql stop && service php7.3-fpm stop && service docker start |