CodeSample
in package
implements
CodeSampleInterface
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $code : string
- $configuration : null|array<string, mixed>
Methods
- __construct() : mixed
- getCode() : string
- getConfiguration() : null|array<string, mixed>
Properties
$code
private
string
$code
$configuration
private
null|array<string, mixed>
$configuration
Methods
__construct()
public
__construct(string $code[, null|array<string, mixed> $configuration = null ]) : mixed
Parameters
- $code : string
- $configuration : null|array<string, mixed> = null
getCode()
public
getCode() : string
Return values
stringgetConfiguration()
public
getConfiguration() : null|array<string, mixed>