ProcessManager
namespace |
bhenk\doc2rst\process |
predicates |
Cloneable | Instantiable |
Runs the transformation of source files to restructured text files
Constructor
ProcessManager::__construct
predicates |
public | constructor |
Constructs a new ProcessManager
see also
public function __construct(
Parameter #0 [ <required> string $doc_root ]
Parameter #1 [ <optional> ?string $root = NULL ]
)
Methods
ProcessManager::quickStart
predicates |
public |
Quickstart doc2rst
This function will scan the source directory known as vendor_directory. It will not generate rst-files, only suggest reasonable configuration options for file and directory paths. Furthermore, it will place configuration files in the doc_root directory. These configuration files are:
d2r-conf.php - run configuration
d2r-order.php - order of DocComment segments and tag display
d2r-styles.txt - some extra css-styles used by doc2rst
public function quickStart(): void
ProcessManager::run
predicates |
public |
Run doc2rst and generate rst-files
If nothing goes wrong you will find api-documentation in the api_directory folder under your doc_root directory.
see also
public function run(): void
ProcessManager::getConstitution
predicates |
public |
Autoconfiguration is done by an implementation of ConstitutionInterface
At the moment there is only one implementation: Constitution. If necessary write your own Constitution!
public function getConstitution(): ConstitutionInterface
ProcessManager::setConstitution
predicates |
public |
Sets the Constitution used for autoconfiguration
public function setConstitution(
Parameter #0 [ <required> bhenk\doc2rst\process\ConstitutionInterface $constitution ]
): void
Fri, 31 Mar 2023 13:22:46 +0000