/** * {@inheritDoc} */ public static function export($argument, $return = false) { return BetterReflectionClass::export(...func_get_args()); }
public function testExportWithNoClassName() { $this->setExpectedException(\InvalidArgumentException::class); ReflectionClass::export(); }