src/Utils/Helper.php
public function resolveMessageKeyArray(array $messageKeys)
    {
        $flatArray = [];

        foreach ($messageKeys as $index=>$key) {
            $this->resolveMessageKey($key, $index, function($qualifiedKey) use(&$flatArray)
                {
                    $flatArray[] = $qualifiedKey;
                });
        }

        return $flatArray;
    }
public function resolveMessageKeyArray(array $messageKeys)
    {
        $flatArray = [];

        foreach ($messageKeys as $index=>$key) {
            $this->resolveMessageKey($key, $index, function($qualifiedKey) use(&$flatArray)
                {
                    $flatArray[] = $qualifiedKey;
                });
        }

        return $flatArray;
    }
public function resolveMessageKeyArray ( array $ messageKeys ) { $ flatArray = [ ] ; foreach ( $ messageKeys as $ index => $ key ) { $ this -> resolveMessageKey ( $ key , $ index , function ( $ qualifiedKey ) use ( & $ flatArray ) { $ flatArray [ ] = $ qualifiedKey ; } ) ; } return $ flatArray ; }
Takes an array of message keys with nested
sub-arrays and returns a flat array of
fully qualified message keys.

@param array $messageKeys    Complex array of message keys.
@return array Flat array of fully qualified message keys.
Takes an array of message keys with nested sub - arrays and returns a flat array of fully qualified message keys .