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
Exemplo n.º 1
0
 /**
  * {@inheritDoc}
  */
 public static function export($argument, $return = false)
 {
     return BetterReflectionClass::export(...func_get_args());
 }
Exemplo n.º 2
0
 public function testExportWithNoClassName()
 {
     $this->setExpectedException(\InvalidArgumentException::class);
     ReflectionClass::export();
 }