---
title: "init(minimumAccessLevel:includeInheritedDocs:includeSynthesized:includeSPI:emitExtensionBlocks:)"
framework: swift-package-manager
role: symbol
role_heading: Initializer
path: "swift-package-manager/documentation/packageplugin/packagemanager/symbolgraphoptions/init(minimumaccesslevel:includeinheriteddocs:includesynthesized:includespi:emitextensionblocks:)"
---

# init(minimumAccessLevel:includeInheritedDocs:includeSynthesized:includeSPI:emitExtensionBlocks:)

Creates a new set of options for returning the symbol graph for a target.

## Declaration

```swift
init(minimumAccessLevel: PackageManager.SymbolGraphOptions.AccessLevel = .public, includeInheritedDocs: Bool = true, includeSynthesized: Bool = false, includeSPI: Bool = false, emitExtensionBlocks: Bool = false)
```

## Parameters

- `minimumAccessLevel`: The minimum access level of symbols to return.
- `includeInheritedDocs`: A Boolean value that indicates whether to include inheirted docs from protocol or class members.
- `includeSynthesized`: A Boolean value that indicates whether to include synthesized members.
- `includeSPI`: A Boolean value that indicates whether to include symbols marked as SPI.
- `emitExtensionBlocks`: A Boolean value that indicates whether to emit symbols for extensions to external types.
