public function __construct($className) { parent::__construct(new \ReflectionClass((string) $className)); }