Back to Dagger

GeneratedCode

docs/static/reference/php/Dagger/GeneratedCode.html

0.20.73.4 KB
Original Source

GeneratedCode

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

from AbstractObject

null|array|string|int|float|bool

queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)

No description

from AbstractObject

Directory

code()

The directory containing the generated code.

AbstractId

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).

GeneratedCode

withVCSGeneratedPaths(array $paths)

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

GeneratedCode

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 | |

Generated by Doctum, a API Documentation generator and fork of Sami.