final | |
---|---|
implements |
SourceStubber |
It generates a stub source from internal reflection for given class or function name.
Methods | ||
---|---|---|
public
|
__construct()
|
# |
public
|
generateClassStub(class-string|trait-string $className): ?StubData
|
# |
public
|
generateFunctionStub(string $functionName): ?StubData
|
# |
public
|
generateFunctionStubFromReflection(ReflectionFunction $functionReflection): ?StubData
|
# |
public
|
generateConstantStub(string $constantName): ?StubData
|
# |