lithium\net\http\Route::export()

public method

Exports the properties that make up the route to an array, for debugging, caching or introspection purposes.

Returns

array

An 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;
	}