includes/Utils.php
/**
     * Prints formatted msg on CLI
     *
     * @param string $msg
     */
Prints formatted msg on CLI
@param string $msg
Prints formatted msg on CLI @param string $msg
public static function printCLIMessages($msg) {
        if (self::isRunningFromCLI()) {
            $border = str_repeat("#", strlen($msg) + 3);
            echo $border . PHP_EOL . '#' . PHP_EOL;
            echo "#  " . $msg . PHP_EOL . '#' . PHP_EOL;
            echo $border . PHP_EOL;
        } else {
            Logger::getLogger()->LogWarn('Trying to print CLI_Message while file not executing from CLI');
        }
    }
public static function printCLIMessages ( $ msg ) { if ( self :: isRunningFromCLI ( ) ) { $ border = str_repeat ( " # " , strlen ( $ msg ) + 3 ) ; echo $ border . PHP_EOL . '#' . PHP_EOL ; echo " #   " . $ msg . PHP_EOL . '#' . PHP_EOL ; echo $ border . PHP_EOL ; } else { Logger :: getLogger ( ) -> LogWarn ( 'Trying to print CLI_Message while file not executing from CLI' ) ; } }
Prints formatted msg on CLI
 @param string $msg
Prints formatted msg on CLI @param string $msg