AllStubsDataProvider
class AllStubsDataProvider implements StubsDataProvider (View source)
Methods
__construct(string|null $stubsRootPath = null)
No description
array
getAllStubFiles()
Get all PHP stub files from the stubs directory.
string
getStubFileContent(string $path)
Get the content of a stub file.
string
getStubsRootPath()
Get the stubs root path.
Details
__construct(string|null $stubsRootPath = null)
No description
array
getAllStubFiles()
Get all PHP stub files from the stubs directory.
Excludes vendor, tests, and other non-stub directories.
string
getStubFileContent(string $path)
Get the content of a stub file.
string
getStubsRootPath()
Get the stubs root path.