VersionSpecificCodeSample
in package
implements
VersionSpecificCodeSampleInterface
Tags
Interfaces, Classes and Traits
Table of Contents
- $codeSample : CodeSampleInterface
- $versionSpecification : VersionSpecificationInterface
- __construct() : mixed
- getCode() : mixed
- {@inheritdoc}
- getConfiguration() : mixed
- {@inheritdoc}
- isSuitableFor() : bool
Properties
$codeSample
private
CodeSampleInterface
$codeSample
$versionSpecification
private
VersionSpecificationInterface
$versionSpecification
Methods
__construct()
public
__construct(string $code, VersionSpecificationInterface $versionSpecification[, array<string|int, mixed> $configuration = null ]) : mixed
Parameters
- $code : string
- $versionSpecification : VersionSpecificationInterface
- $configuration : array<string|int, mixed> = null
Return values
mixed —getCode()
{@inheritdoc}
public
getCode() : mixed
Return values
mixed —getConfiguration()
{@inheritdoc}
public
getConfiguration() : mixed
Return values
mixed —isSuitableFor()
public
isSuitableFor(mixed $version) : bool
Parameters
- $version : mixed