private function assemblyTextRender():array
    {
        $str = "";
        $type = "text";

        foreach ($this->allowed_text_render as $one) {
            if ($one["priority"] === 1) {
                $type = $one["type"];
                break;
            }
        }

        foreach (self::$buffer_text as $one) {
            $str .= $one["text"];
        }
        return (array("text" => $str, "type" => $type));
    }
private function assemblyTextRender():array
    {
        $str = "";
        $type = "text";

        foreach ($this->allowed_text_render as $one) {
            if ($one["priority"] === 1) {
                $type = $one["type"];
                break;
            }
        }

        foreach (self::$buffer_text as $one) {
            $str .= $one["text"];
        }
        return (array("text" => $str, "type" => $type));
    }
private function assemblyTextRender ( ) : array { $ str = "" ; $ type = "text" ; foreach ( $ this -> allowed_text_render as $ one ) { if ( $ one [ "priority" ] === 1 ) { $ type = $ one [ "type" ] ; break ; } } foreach ( self :: $ buffer_text as $ one ) { $ str .= $ one [ "text" ] ; } return ( array ( "text" => $ str , "type" => $ type ) ) ; }
Merge all text render
@return array Array this contact text and render type
Merge all text render