method/parserTrait.php
/**
	 * parsing query key form url..
	 * query keys are under curlly braces {key}..
	 * returns array of keys name..
	 * 
	 * @var 		string 		$url
	 * @return 	array
	 */
parsing query key form url
query keys are under curlly braces {key}
returns array of keys name

@var                 string          $url
@return      array
parsing query key form url query keys are under curlly braces { key } returns array of keys name @var string $url @return array
protected function queryKeys(string $url)
	{
		$queryKey = array();
		if ($param_pos = strpos($url,"{")) {
			$url = substr($url,$param_pos);
			foreach ($this->trimSlashs($url) as $key => $url_words) {
				if (preg_match("/^{+[a-zA-Z0-9-]+}$/", $url_words)) {
					$param = preg_replace("/[{}]/", "", $url_words);
					$queryKey[$key] = $param;
				}
			}
		}
		return $queryKey;
	}
protected function queryKeys ( string $ url ) { $ queryKey = array ( ) ; if ( $ param_pos = strpos ( $ url , " { " ) ) { $ url = substr ( $ url , $ param_pos ) ; foreach ( $ this -> trimSlashs ( $ url ) as $ key => $ url_words ) { if ( preg_match ( " /^{+[a-zA-Z0-9-]+}$/ " , $ url_words ) ) { $ param = preg_replace ( " /[{}]/ " , " " , $ url_words ) ; $ queryKey [ $ key ] = $ param ; } } } return $ queryKey ; }
parsing query key form url..
 query keys are under curlly braces {key}..
 returns array of keys name..
parsing query key form url .. query keys are under curlly braces { key } .. returns array of keys name ..