public static function export($class, $name, $return = null) { return BetterReflectionMethod::export(...func_get_args()); }
public function testExport() { $this->expectException(\Exception::class); $this->expectExceptionMessage('Unable to export statically'); ReflectionMethodAdapter::export('\\stdClass', 'foo'); }