Skip to content

Latest commit

 

History

History
328 lines (235 loc) · 7.21 KB

DocGeneratorFactory.md

File metadata and controls

328 lines (235 loc) · 7.21 KB

BumbleDocGen / DocGeneratorFactory


namespace BumbleDocGen;

final class DocGeneratorFactory

Initialization methods:

  1. __construct

Methods:

  1. create
  2. createByConfigArray
  3. createConfiguration
  4. setCustomConfigurationParameters
  5. setCustomDiDefinitions

Method details:

public function __construct(string $diConfig = __DIR__ . '/di-config.php');

Parameters:

Name Type Description
$diConfig string -

public function create(string|null ...$configurationFiles): \BumbleDocGen\DocGenerator;

Parameters:

Name Type Description
$configurationFiles (variadic) string | null -

Return value: \BumbleDocGen\DocGenerator

Throws:


public function createByConfigArray(array $config): \BumbleDocGen\DocGenerator;

Parameters:

Name Type Description
$config array -

Return value: \BumbleDocGen\DocGenerator

Throws:


public function createConfiguration(string ...$configurationFiles): \BumbleDocGen\Core\Configuration\Configuration;

Parameters:

Name Type Description
$configurationFiles (variadic) string -

Return value: \BumbleDocGen\Core\Configuration\Configuration

Throws:


public function setCustomConfigurationParameters(array $customConfigurationParameters): void;

Parameters:

Name Type Description
$customConfigurationParameters array -

Return value: void


public function setCustomDiDefinitions(array $definitions): void;

Parameters:

Name Type Description
$definitions array -

Return value: void