public static function export($className = null) { if (null === $className) { throw new \InvalidArgumentException('Class name must be provided'); } $reflection = self::createFromName($className); return $reflection->__toString(); }
/** * {@inheritDoc} */ public static function export($argument, $return = false) { return BetterReflectionClass::export(...func_get_args()); }