OpenSkill\Datatable\Versions\VersionEngine::__construct PHP Метод

__construct() публичный Метод

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);
    }