Page MenuHomestyx hydra

PhabricatorFactManagementListWorkflow.php
No OneTemporary

PhabricatorFactManagementListWorkflow.php

<?php
final class PhabricatorFactManagementListWorkflow
extends PhabricatorFactManagementWorkflow {
protected function didConstruct() {
$this
->setName('list')
->setSynopsis(pht('Show a list of fact engines.'))
->setArguments(array());
}
public function execute(PhutilArgumentParser $args) {
$console = PhutilConsole::getConsole();
$engines = PhabricatorFactEngine::loadAllEngines();
foreach ($engines as $engine) {
$console->writeOut("%s\n", get_class($engine));
}
return 0;
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Dec 1, 1:00 PM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
430473
Default Alt Text
PhabricatorFactManagementListWorkflow.php (544 B)

Event Timeline