src/Router.php
public function get_request_comp(int $index=null) {
		$comp = $this->request_comp;
		if ($index === null)
			return $comp;
		if (isset($comp[$index]))
			return $comp[$index];
		return null;
	}
public function get_request_comp(int $index=null) {
		$comp = $this->request_comp;
		if ($index === null)
			return $comp;
		if (isset($comp[$index]))
			return $comp[$index];
		return null;
	}
public function get_request_comp ( int $ index = null ) { $ comp = $ this -> request_comp ; if ( $ index === null ) return $ comp ; if ( isset ( $ comp [ $ index ] ) ) return $ comp [ $ index ] ; return null ; }
Get request component.

@param int $index Index of component array. Set to null
to return the whole array.
@return mixed If no index is set, the whole component array is
returned. Otherwise, indexed element is returned or null if
index falls out of range.
Get request component .