OpenSkill\Datatable\Versions\VersionEngine::__construct PHP Method

__construct() public method

DTVersionEngine constructor. The first version will be set as default version.
public __construct ( array $versions )
$versions array an array of possible version this data table supports
    public function __construct(array $versions)
    {
        $this->setVersionFromRequest($versions);
    }