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
Mon, Mar 24, 08:52 (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113043
Default Alt Text
PhutilConsoleServerChannel.php (349 B)

Event Timeline