BaseMapper
in package
AbstractYes
Table of Contents
Constants
- BASE_NAMESPACE = 'baseNamespace'
- BASE_PATH = 'basePath'
- BASE_TYPE = 'baseType'
- SPEC = 'spec'
Properties
- $classes : NamespaceCollection
- $logger : LoggerInterface
- $baseNamespace : string
- $basePath : string
- $baseType : Type
- $spec : OpenApi
Methods
- __construct() : mixed
- generate() : void
- getBaseNamespace() : string
- getBasePath() : string
- getBaseType() : Type
- getSpec() : OpenApi
- subnamespace() : string
- writeFiles() : void
Constants
BASE_NAMESPACE
public
mixed
BASE_NAMESPACE
= 'baseNamespace'
BASE_PATH
public
mixed
BASE_PATH
= 'basePath'
BASE_TYPE
public
mixed
BASE_TYPE
= 'baseType'
SPEC
public
mixed
SPEC
= 'spec'
Properties
$classes
protected
NamespaceCollection
$classes
$logger
protected
LoggerInterface
$logger
$baseNamespace
private
string
$baseNamespace
$basePath
private
string
$basePath
$baseType
private
Type
$baseType
$spec
private
OpenApi
$spec
Methods
__construct()
public
__construct(Type} $config, LoggerInterface $logger) : mixed
Parameters
- $config : Type}
- $logger : LoggerInterface
generate()
public
abstract generate() : void
APIYes
getBaseNamespace()
public
getBaseNamespace() : string
Return values
stringgetBasePath()
public
getBasePath() : string
Return values
stringgetBaseType()
public
getBaseType() : Type
Return values
TypegetSpec()
public
getSpec() : OpenApi
Return values
OpenApisubnamespace()
public
abstract subnamespace() : string
Return values
stringwriteFiles()
public
writeFiles() : void