Methods |
public
|
__construct(Standard $prettyPrinter, int $phpVersion = PHP_VERSION_ID)
|
#
|
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
|
generateFunctionStubFromReflection(ReflectionFunction $functionReflection): ?StubData
|
#
|
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
|
#
|