src/Plugin/Call/Calls.php
public static function log($reference, $call)
    {
        $calls = [];
        if (is_array($reference)) {
            foreach ($reference as $value) {
                $calls[] = static::_call($value, $call);
            }
        } else {
            $calls[] = static::_call($reference, $call);
        }
        static::$_logs[] = $calls;
    }
public static function log($reference, $call)
    {
        $calls = [];
        if (is_array($reference)) {
            foreach ($reference as $value) {
                $calls[] = static::_call($value, $call);
            }
        } else {
            $calls[] = static::_call($reference, $call);
        }
        static::$_logs[] = $calls;
    }
public static function log ( $ reference , $ call ) { $ calls = [ ] ; if ( is_array ( $ reference ) ) { foreach ( $ reference as $ value ) { $ calls [ ] = static :: _call ( $ value , $ call ) ; } } else { $ calls [ ] = static :: _call ( $ reference , $ call ) ; } static :: $ _logs [ ] = $ calls ; }
Logs a call.

@param mixed  $reference An instance or a fully-namespaced class name or an array of them.
@param string $call      The method name.
Logs a call .