phpDocumentor

ApiSpecification
in package
implements ArrayAccess uses LegacyArrayAccess

FinalYes
Tags
psalm-import-type

ConfigurationApiMap from Version3

Table of Contents

Interfaces

ArrayAccess

Constants

VISIBILITY_API  = 16
VISIBILITY_DEFAULT  = 7
VISIBILITY_INTERNAL  = 8
VISIBILITY_PRIVATE  = 4
VISIBILITY_PROTECTED  = 2
VISIBILITY_PUBLIC  = 1

Properties

$defaultPackageName  : string
$encoding  : string
$examples  : Source|null
$extensions  : array<string|int, mixed>
$ignore  : array<string|int, mixed>
$ignoreTags  : array<string|int, mixed>
$includeSource  : bool|null
$markers  : array<string|int, mixed>
$output  : string
$source  : Source
$validate  : bool
$visibility  : array<string|int, mixed>

Methods

calculateVisiblity()  : int
createDefault()  : ApiSpecification
createFromArray()  : self
getIgnoredTags()  : array<string|int, string>
isVisibilityAllowed()  : bool
Checks whether the Project supports the given visibility.
offsetExists()  : bool
offsetGet()  : mixed
offsetSet()  : void
offsetUnset()  : void
setIgnore()  : void
source()  : Source
withSource()  : self
__construct()  : mixed
normalizePropertyName()  : string

Constants

Properties

Methods

calculateVisiblity()

public calculateVisiblity() : int
Return values
int

createFromArray()

public static createFromArray(ConfigurationApiMap $api) : self
Parameters
$api : ConfigurationApiMap
Return values
self

getIgnoredTags()

public getIgnoredTags() : array<string|int, string>
Return values
array<string|int, string>

isVisibilityAllowed()

Checks whether the Project supports the given visibility.

public isVisibilityAllowed(int $visibility) : bool
Parameters
$visibility : int

One of the VISIBILITY_* constants of the Settings class.

Tags
see
Settings

for a list of the available VISIBILITY_* constants.

Return values
bool

offsetExists()

public offsetExists(string $offset) : bool
Parameters
$offset : string
Return values
bool

offsetGet()

public offsetGet(string $offset) : mixed
Parameters
$offset : string

offsetSet()

public offsetSet(string $offset, mixed $value) : void
Parameters
$offset : string
$value : mixed

offsetUnset()

public offsetUnset(string $offset) : void
Parameters
$offset : string

setIgnore()

public setIgnore(array{hidden: bool, symlinks: bool, paths: list$ignore) : void
Parameters
$ignore : array{hidden: bool, symlinks: bool, paths: list}

__construct()

private __construct(Source $source, string $output, array{hidden: bool, symlinks: bool, paths: list$ignore, array<int, string> $extensions, array<string|int, string> $visibility, string $defaultPackageName, bool|null $includeSource, array<string|int, string> $markers, array<string|int, string> $ignoreTags, Source|null $examples, string $encoding, bool $validate) : mixed
Parameters
$source : Source
$output : string
$ignore : array{hidden: bool, symlinks: bool, paths: list}
$extensions : array<int, string>
$visibility : array<string|int, string>
$defaultPackageName : string
$includeSource : bool|null
$markers : array<string|int, string>
$ignoreTags : array<string|int, string>
$examples : Source|null
$encoding : string
$validate : bool

normalizePropertyName()

private normalizePropertyName(string $offset) : string
Parameters
$offset : string
Return values
string

        
On this page

Search results