Page MenuHomePhorge

PhutilConsoleServerChannel.php
No OneTemporary

PhutilConsoleServerChannel.php

<?php
final class PhutilConsoleServerChannel extends PhutilChannelChannel {
public function didReceiveStderr(PhutilExecChannel $channel, $stderr) {
$message = id(new PhutilConsoleMessage())
->setType(PhutilConsoleMessage::TYPE_ERR)
->setData(array('%s', $stderr));
$this->getUnderlyingChannel()->addMessage($message);
}
}

File Metadata

Mime Type
text/x-php
Expires
Mar 24 2025, 08:52 (5 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113043
Default Alt Text
PhutilConsoleServerChannel.php (349 B)

Event Timeline