Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions system/Router/RouteCollectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,4 +264,16 @@ public function isFiltered(string $search, ?string $verb = null): bool;
* @return list<string> filter_name or filter_name:arguments like 'role:admin,manager'
*/
public function getFiltersForRoute(string $search, ?string $verb = null): array;

/**
* Get all controllers in Route Handlers
*
* @param string|null $verb HTTP verb like `GET`,`POST` or `*` or `CLI`.
* `'*'` returns all controllers in any verb.
*
* @return list<string> controller name list
*
* @internal
*/
public function getRegisteredControllers(?string $verb = '*'): array;
}
15 changes: 15 additions & 0 deletions system/View/RendererInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,19 @@ public function setVar(string $name, $value = null, ?string $context = null);
* @return RendererInterface
*/
public function resetData();

/**
* Returns the rendered data from all views, organized by view name.
*
* @return array<string, array>
*/
public function getData(): array;

/**
* Returns the performance data that might have been collected
* during the execution. Used by the Debug Toolbar.
*
* @return array<int, array>
*/
public function getPerformanceData(): array;
}