HooksterPrinter implements JsonSerializable
Hookster Printer
Tags
Interfaces, Classes and Traits
- JsonSerializable
Table of Contents
- $documentor : Documentor
- Documentor.
- $output : Documentor
- Output interface.
- $type : string
- Type
- __construct() : mixed
- Constrcuct Hookster printer.
- get_hooks() : array<string|int, mixed>
- Get the hooks to print.
- jsonSerialize() : mixed
- JSON Serialize.
- render() : void
- Render.
Properties
$documentor
Documentor.
private
Documentor
$documentor
$output
Output interface.
private
Documentor
$output
$type
Type
private
string
$type
Methods
__construct()
Constrcuct Hookster printer.
public
__construct(Documentor $documentor, OutputInterface $output, string $type) : mixed
Parameters
- $documentor : Documentor
-
Documentor.
- $output : OutputInterface
-
Output.
- $type : string
-
Type.
Return values
mixed —get_hooks()
Get the hooks to print.
public
get_hooks() : array<string|int, mixed>
Return values
array<string|int, mixed> —jsonSerialize()
JSON Serialize.
public
jsonSerialize() : mixed
Return values
mixed —render()
Render.
public
render() : void