protected function matchParameters(array $acceptable, array $supported): bool
	{
		if (count($acceptable['params']) !== count($supported['params']))
		{
			return false;
		}

		foreach ($supported['params'] as $label => $value)
		{
			if (! isset($acceptable['params'][$label]) ||
					$acceptable['params'][$label] !== $value)
			{
				return false;
			}
		}

		return true;
	}
protected function matchParameters(array $acceptable, array $supported): bool
	{
		if (count($acceptable['params']) !== count($supported['params']))
		{
			return false;
		}

		foreach ($supported['params'] as $label => $value)
		{
			if (! isset($acceptable['params'][$label]) ||
					$acceptable['params'][$label] !== $value)
			{
				return false;
			}
		}

		return true;
	}
protected function matchParameters ( array $ acceptable , array $ supported ) : bool { if ( count ( $ acceptable [ 'params' ] ) !== count ( $ supported [ 'params' ] ) ) { return false ; } foreach ( $ supported [ 'params' ] as $ label => $ value ) { if ( ! isset ( $ acceptable [ 'params' ] [ $ label ] ) || $ acceptable [ 'params' ] [ $ label ] !== $ value ) { return false ; } } return true ; }
Checks two Accept values with matching 'values' to see if their
'params' are the same.

@param array $acceptable
@param array $supported

@return boolean
Checks two Accept values with matching values to see if their params are the same .