protected function matchTemplate(
        /*# string */ &$template,
        array &$arguments
    )/*# : string */ {
        $count = substr_count($template, '%s');
        $size  = sizeof($arguments);
        if ($count > $size) {
            $arguments = $arguments + array_fill($size, $count - $size, '');
        } else {
            $template .= str_repeat(' %s', $size - $count);
        }
        return $this;
    }
protected function matchTemplate(
        /*# string */ &$template,
        array &$arguments
    )/*# : string */ {
        $count = substr_count($template, '%s');
        $size  = sizeof($arguments);
        if ($count > $size) {
            $arguments = $arguments + array_fill($size, $count - $size, '');
        } else {
            $template .= str_repeat(' %s', $size - $count);
        }
        return $this;
    }
protected function matchTemplate ( /*# string */ & $ template , array & $ arguments ) /*# : string */ { $ count = substr_count ( $ template , '%s' ) ; $ size = sizeof ( $ arguments ) ; if ( $ count > $ size ) { $ arguments = $ arguments + array_fill ( $ size , $ count - $ size , '' ) ; } else { $ template .= str_repeat ( ' %s' , $ size - $ count ) ; } return $ this ; }
Match "%s" in template with the provided arguments.

@param  string &$template
@param  array &$arguments
@return $this
@access protected
Match %s in template with the provided arguments .