export() public static method

Create a reflection and return the string representation of a named class
public static export ( string $className = null ) : string
$className string
return string
 /**
  * {@inheritDoc}
  */
 public static function export($argument, $return = false)
 {
     return BetterReflectionClass::export(...func_get_args());
 }
 public function testExportWithNoClassName()
 {
     $this->setExpectedException(\InvalidArgumentException::class);
     ReflectionClass::export();
 }