Methods |
public
|
__construct(Parser $phpParser, int $phpVersion = PHP_VERSION_ID)
|
#
|
public
|
hasClass(string $className): bool
|
#
|
public
|
isPresentClass(string $className): ?bool
|
#
|
public
|
isPresentFunction(string $functionName): ?bool
|
#
|
public
|
generateClassStub(class-string|trait-string $className): ?StubData
Generates stub for given class. Returns null when it cannot generate the stub.
Generates stub for given class. Returns null when it cannot generate the stub.
Implements
|
#
|
public
|
generateFunctionStub(string $functionName): ?StubData
Generates stub for given function. Returns null when it cannot generate the stub.
Generates stub for given function. Returns null when it cannot generate the stub.
Implements
|
#
|
public
|
generateConstantStub(string $constantName): ?StubData
Generates stub for given constant. Returns null when it cannot generate the stub.
Generates stub for given constant. Returns null when it cannot generate the stub.
Implements
|
#
|