Changeset View
Changeset View
Standalone View
Standalone View
src/phage/bootloader/PhagePHPAgentBootloader.php
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | if (!$this->bootSequence) { | ||||
'channel/PhutilSocketChannel.php', | 'channel/PhutilSocketChannel.php', | ||||
'channel/PhutilChannelChannel.php', | 'channel/PhutilChannelChannel.php', | ||||
'channel/PhutilProtocolChannel.php', | 'channel/PhutilProtocolChannel.php', | ||||
'channel/PhutilJSONProtocolChannel.php', | 'channel/PhutilJSONProtocolChannel.php', | ||||
'phage/agent/PhagePHPAgent.php', | 'phage/agent/PhagePHPAgent.php', | ||||
); | ); | ||||
$main_sequence = new PhutilBallOfPHP(); | $main_sequence = new PhutilBallOfPHP(); | ||||
$root = phutil_get_library_root('phutil'); | $root = phutil_get_library_root('arcanist'); | ||||
foreach ($files as $file) { | foreach ($files as $file) { | ||||
$main_sequence->addFile($root.'/'.$file); | $main_sequence->addFile($root.'/'.$file); | ||||
} | } | ||||
// NOTE: If we use id() here, we don't get a stack trace out of it when | // NOTE: If we use id() here, we don't get a stack trace out of it when | ||||
// we call a nonexistent method from inside "execute()"? Not exactly sure | // we call a nonexistent method from inside "execute()"? Not exactly sure | ||||
// what's going on here, but just sweep it under the rug for now. | // what's going on here, but just sweep it under the rug for now. | ||||
Show All 33 Lines |