Access to private methods for testing

Paramètres

(string) method: Method to be called:

(array) args: Array of paramters to be passed in:

Fichier

advagg_css_compress/css-compressor-3.x/src/lib/Combine/Font.inc, line 114

Classe

CSSCompression_Combine_Font
CSS Compressor [VERSION] [DATE] Corey Hart @ <a href="http://www.codenothing.com">http://www.codenothing.com</a>

Code

public function access($method, $args) {
    if (method_exists($this, $method)) {
        return call_user_func_array(array(
            $this,
            $method,
        ), $args);
    }
    else {
        throw new CSSCompression_Exception("Unknown method in Font Class - " . $method);
    }
}