lithium\net\http\Route::export()
Exports the properties that make up the route to an array, for debugging, caching or introspection purposes.
Returns
arrayAn array containing the properties of the route object, such as URL templates and parameter lists.
Source
public function export() {
$result = [];
foreach ($this->_autoConfig as $key) {
if ($key === 'formatters') {
continue;
}
$result[$key] = $this->{'_' . $key};
}
return $result;
}