/** * Adds stream to the standard output * * @param string $stream */ public static function put($stream) { $stdout = new self('php://stdout', 'w'); $stdout->fwrite($stream); }