1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-26 21:49:07 +01:00
phorge-arcanist/src/utils/PhutilDirectedScalarGraph.php
epriestley 9b74cb4ee6 Fully merge "libphutil/" into "arcanist/"
Summary: Ref T13395. Moves all remaining code in "libphutil/" into "arcanist/".

Test Plan: Ran various arc workflows, although this probably has some remaining rough edges.

Maniphest Tasks: T13395

Differential Revision: https://secure.phabricator.com/D20980
2020-02-12 15:17:38 -08:00

17 lines
411 B
PHP

<?php
/**
* Concrete subclass of @{class:AbstractDirectedGraph} which can not load any
* data from external sources.
*/
final class PhutilDirectedScalarGraph extends AbstractDirectedGraph {
protected function loadEdges(array $nodes) {
throw new Exception(
pht(
'%s can not load additional nodes at runtime. Tried to load: %s',
__CLASS__,
implode(', ', $nodes)));
}
}