Skip to content

Latest commit

 

History

History
134 lines (44 loc) · 991 Bytes

OperationId.md

File metadata and controls

134 lines (44 loc) · 991 Bytes

OperationId

Generate the OperationId based on the context of the OpenApi annotation.

  • Full name: \OpenApi\Processors\OperationId

Properties

hash

protected $hash

Methods

__construct

public __construct(bool $hash = true): mixed

Parameters:

Parameter Type Description
$hash bool if true hash generated ids instead of clear text

isHash

public isHash(): bool

setHash

public setHash(bool $hash): \OpenApi\Processors\OperationId

Parameters:

Parameter Type Description
$hash bool

__invoke

public __invoke(\OpenApi\Analysis $analysis): mixed

Parameters:

Parameter Type Description
$analysis \OpenApi\Analysis