public function getItemKey($name): string
    {
        if (func_num_args() > 1)
            $name = func_get_args();

        if (is_array($name))
            return implode('|', $name);

        return (string) $name;
    }
public function getItemKey($name): string
    {
        if (func_num_args() > 1)
            $name = func_get_args();

        if (is_array($name))
            return implode('|', $name);

        return (string) $name;
    }
public function getItemKey ( $ name ) : string { if ( func_num_args ( ) > 1 ) $ name = func_get_args ( ) ; if ( is_array ( $ name ) ) return implode ( '|' , $ name ) ; return ( string ) $ name ; }
Returns item key

@param string|array $name

@return string
Returns item key