BcBaserHelper::__call PHP Method

__call() public method

BcBaserHelper に存在しないメソッドが呼ばれた際、プラグインで定義された PluginBaserHelper のメソッドを呼び出す call__ から __call へメソット名を変更、Helper の __call をオーバーライド
public __call ( string $method, array $params ) : mixed
$method string メソッド名
$params array 引数
return mixed PluginBaserHelper の戻り値
    public function __call($method, $params)
    {
        foreach ($this->_pluginBasers as $pluginBaser) {
            if (method_exists($pluginBaser, $method)) {
                return call_user_func_array(array($pluginBaser, $method), $params);
            }
        }
        return null;
    }