\TinCanAsVersionTrait

Basic implementation of the VersionableInterface

Summary

Methods
Properties
Constants
asVersion()
__set()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

asVersion()

asVersion(mixed  $version) : array

Collects defined object properties for a given version into an array

Parameters

mixed $version

Returns

array

__set()

__set(string  $property, mixed  $value) 

Prevent external mutation

Parameters

string $property
mixed $value

Throws

\DomainException