BumbleDocGen / DocGeneratorFactory
DocGeneratorFactory class:
namespace BumbleDocGen;
final class DocGeneratorFactory
- create
- createByConfigArray
- createConfiguration
- setCustomConfigurationParameters
- setCustomDiDefinitions
- # __construct | source code
public function __construct(string $diConfig = __DIR__ . '/di-config.php');
Parameters:
Name | Type | Description |
---|---|---|
$diConfig | string | - |
- # create | source code
public function create(string|null ...$configurationFiles): \BumbleDocGen\DocGenerator;
Parameters:
Name | Type | Description |
---|---|---|
$configurationFiles (variadic) | string | null | - |
Return value: \BumbleDocGen\DocGenerator
Throws:
- # createByConfigArray | source code
public function createByConfigArray(array $config): \BumbleDocGen\DocGenerator;
Parameters:
Name | Type | Description |
---|---|---|
$config | array | - |
Return value: \BumbleDocGen\DocGenerator
Throws:
- # createConfiguration | source code
public function createConfiguration(string ...$configurationFiles): \BumbleDocGen\Core\Configuration\Configuration;
Parameters:
Name | Type | Description |
---|---|---|
$configurationFiles (variadic) | string | - |
Return value: \BumbleDocGen\Core\Configuration\Configuration
Throws:
- # setCustomConfigurationParameters | source code
public function setCustomConfigurationParameters(array $customConfigurationParameters): void;
Parameters:
Name | Type | Description |
---|---|---|
$customConfigurationParameters | array | - |
Return value: void
- # setCustomDiDefinitions | source code
public function setCustomDiDefinitions(array $definitions): void;
Parameters:
Name | Type | Description |
---|---|---|
$definitions | array | - |
Return value: void