handle()
handle(\Pho\Framework\ParticleInterface $particle, array $pack, string $name, array $args) : mixed
Catch-all handler
Parameters
\Pho\Framework\ParticleInterface | $particle | The particle that this handler is working on. |
array | $pack | Holds cargo variables extracted by loaders. |
string | $name | Catch-all method name |
array | $args | Catch-all method arguments |
Returns
mixed —"Has"=>bool. Get=>array. Set/Form=>\Pho\Lib\Graph\EdgeInterface by default, but in order to provide flexibility for higher-level components to return node (in need) the official return value is \Pho\Lib\Graph\EntityInterface which is the parent of both NodeInterface and EdgeInterface.