protected function buildPrefix(array $strings)
	{
		$prefix = [];
		foreach ($strings as $string)
		{
			// Remove the last element (suffix) of each string before adding it
			array_pop($string);
			$prefix[] = $string;
		}

		return $prefix;
	}
protected function buildPrefix(array $strings)
	{
		$prefix = [];
		foreach ($strings as $string)
		{
			// Remove the last element (suffix) of each string before adding it
			array_pop($string);
			$prefix[] = $string;
		}

		return $prefix;
	}
protected function buildPrefix ( array $ strings ) { $ prefix = [ ] ; foreach ( $ strings as $ string ) { // Remove the last element (suffix) of each string before adding it array_pop ( $ string ) ; $ prefix [ ] = $ string ; } return $ prefix ; }
Build the list of strings used as prefix

@param  array[] $strings
@return array[]
Build the list of strings used as prefix