19 lines
382 B
PHP
19 lines
382 B
PHP
<?php
|
|
namespace nur\sery\output;
|
|
|
|
use nur\sery\output\std\ProxyMessenger;
|
|
|
|
/**
|
|
* Class say: afficher un message sur la console uniquement
|
|
*/
|
|
class say extends _messenger {
|
|
static function get(): IMessenger {
|
|
if (self::$msg === null) {
|
|
$msg = self::$say;
|
|
if ($msg === null) $msg = new ProxyMessenger();
|
|
self::$msg = $msg;
|
|
}
|
|
return self::$msg;
|
|
}
|
|
}
|