class GeneratedCode extends AbstractObject implements IdAble

The result of running an SDK's codegen.

Properties

$lastQuery from  AbstractObject

Methods

__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)

No description

null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)

No description

code()

The directory containing the generated code.

id()

A unique identifier for this GeneratedCode.

array
vcsGeneratedPaths()

List of paths to mark generated in version control (i.e. .gitattributes).

array
vcsIgnoredPaths()

List of paths to ignore in version control (i.e. .gitignore).

withVCSGeneratedPaths(array $paths)

Set the list of paths to mark generated in version control.

withVCSIgnoredPaths(array $paths)

Set the list of paths to ignore in version control.

Details

in AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)

No description

Parameters

AbstractClient $client
QueryBuilderChain $queryBuilderChain

in AbstractObject at line 19
protected null|array|string|int|float|bool queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)

No description

Parameters

QueryBuilder $leafQueryBuilder
string $leafKey

Return Value

null|array|string|int|float|bool

at line 19
Directory code()

The directory containing the generated code.

Return Value

Directory

at line 28
AbstractId id()

A unique identifier for this GeneratedCode.

Return Value

AbstractId

at line 37
array vcsGeneratedPaths()

List of paths to mark generated in version control (i.e. .gitattributes).

Return Value

array

at line 46
array vcsIgnoredPaths()

List of paths to ignore in version control (i.e. .gitignore).

Return Value

array

at line 55
GeneratedCode withVCSGeneratedPaths(array $paths)

Set the list of paths to mark generated in version control.

Parameters

array $paths

Return Value

GeneratedCode

at line 65
GeneratedCode withVCSIgnoredPaths(array $paths)

Set the list of paths to ignore in version control.

Parameters

array $paths

Return Value

GeneratedCode