for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the eZ Publish Kernel package.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Publish\Core\REST\Server\Values;
use eZ\Publish\API\Repository\Values\Content\VersionInfo;
use eZ\Publish\Core\REST\Common\Value as RestValue;
* Version Translations information view model.
class VersionTranslationInfo extends RestValue
{
* @var \eZ\Publish\API\Repository\Values\Content\VersionInfo
private $versionInfo;
* @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
public function __construct(VersionInfo $versionInfo)
$this->versionInfo = $versionInfo;
}
* @return \eZ\Publish\API\Repository\Values\Content\VersionInfo
public function getVersionInfo()
return $this->versionInfo;