mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
38 lines
727 B
PHP
38 lines
727 B
PHP
<?php
|
|
/**
|
|
* This file is part of Phraseanet
|
|
*
|
|
* (c) 2005-2016 Alchemy
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Alchemy\Phrasea\Media;
|
|
|
|
class RecordTechnicalDataSet extends ArrayTechnicalDataSet
|
|
{
|
|
/**
|
|
* @var int
|
|
*/
|
|
private $recordId;
|
|
|
|
/**
|
|
* @param int $recordId
|
|
* @param TechnicalData[] $technicalData
|
|
*/
|
|
public function __construct($recordId, $technicalData = [])
|
|
{
|
|
$this->recordId = (int)$recordId;
|
|
parent::__construct($technicalData);
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getRecordId()
|
|
{
|
|
return $this->recordId;
|
|
}
|
|
}
|