private function magicMethodInfo($methods)
    {
        if (!$methods) {
            return '';
        }
        foreach ($methods as $i => $method) {
            $methods[$i] = '<code>'.$method.'</code>';
        }
        $methods = $i == 0
            ? 'a '.$methods[0].' method'
            : \implode(' and ', $methods).' methods';
        return '<dd class="magic info">This object has '.$methods.'</dd>'."\n";
    }