public function mergeIdentities($identities)
	{
		if ($identities instanceof Rule)
		{
			$identities = $identities->getData();
		}

		if (is_array($identities))
		{
			foreach ($identities as $identity => $allow)
			{
				$this->mergeIdentity($identity, $allow);
			}
		}
	}
public function mergeIdentities($identities)
	{
		if ($identities instanceof Rule)
		{
			$identities = $identities->getData();
		}

		if (is_array($identities))
		{
			foreach ($identities as $identity => $allow)
			{
				$this->mergeIdentity($identity, $allow);
			}
		}
	}
public function mergeIdentities ( $ identities ) { if ( $ identities instanceof Rule ) { $ identities = $ identities -> getData ( ) ; } if ( is_array ( $ identities ) ) { foreach ( $ identities as $ identity => $ allow ) { $ this -> mergeIdentity ( $ identity , $ allow ) ; } } }
Merges the identities

@param   mixed  $identities  An integer or array of integers representing the identities to check.
@return  void
Merges the identities