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

18 lines
411 B
PHP
Raw Normal View History

<?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)));
}
}