You are here

class HackyLog in X Autoload 7.5

Hierarchy

  • class \Drupal\xautoload\Tests\Util\HackyLog

Expanded class hierarchy of HackyLog

File

tests/src/Util/HackyLog.php, line 7

Namespace

Drupal\xautoload\Tests\Util
View source
class HackyLog {

  /**
   * @throws \Exception
   */
  static function log() {
    $args = func_get_args();
    $err = fopen('php://stderr', 'w');
    fwrite($err, var_export($args, TRUE));
    fclose($err);
  }
  static function logx() {
    $args = func_get_args();
    throw new \Exception(var_export($args, TRUE));
  }

}

Members