doc/Docblock.php
protected function _parseTag($string, array $keys = []) {
		$parts = explode(' ', $string, count($keys));
		$result = array_fill_keys($keys, null);

		foreach ($keys as $i => $key) {
			if (isset($parts[$i])) {
				if ($key === 'description') {
					$result[$key] = $this->_clean($parts[$i]);
				} else {
					$result[$key] = $parts[$i];
				}
			}
		}
		return $result;
	}
protected function _parseTag($string, array $keys = []) {
		$parts = explode(' ', $string, count($keys));
		$result = array_fill_keys($keys, null);

		foreach ($keys as $i => $key) {
			if (isset($parts[$i])) {
				if ($key === 'description') {
					$result[$key] = $this->_clean($parts[$i]);
				} else {
					$result[$key] = $parts[$i];
				}
			}
		}
		return $result;
	}
protected function _parseTag ( $ string , array $ keys = [ ] ) { $ parts = explode ( ' ' , $ string , count ( $ keys ) ) ; $ result = array_fill_keys ( $ keys , null ) ; foreach ( $ keys as $ i => $ key ) { if ( isset ( $ parts [ $ i ] ) ) { if ( $ key === 'description' ) { $ result [ $ key ] = $ this -> _clean ( $ parts [ $ i ] ) ; } else { $ result [ $ key ] = $ parts [ $ i ] ; } } } return $ result ; }
Parses space delimited docblock tags to separate out keys.

@param string
@param array Keys (order matters) to parse out.
@return array Returns an array containing the given keys.
Parses space delimited docblock tags to separate out keys .