ArtifactListHandler
Lists class, interface, and enum declarations in the app's plugins without loading their files. The operation returns declaration metadata only. It reads declarations through the shared {@see DeclarationScanner} — tokens, not `require` — so top-level code and static initializers never run merely because an agent asked what exists.
ArtifactListHandler::__construct()
public function __construct(Milpa\DevTools\Support\RootResolver $roots = new RootResolver()):Parameters
| Name | Type | Description |
|---|---|---|
| $roots | Milpa\DevTools\Support\RootResolver |
ArtifactListHandler::handle()
public function handle(array $input): arrayReturns the artifacts declared by one plugin or by every plugin in the app.
Parameters
| Name | Type | Description |
|---|---|---|
| $input | array<string, mixed> |