1
0
mirror of synced 2025-02-02 21:41:45 +03:00

37 lines
810 B
PHP
Raw Permalink Normal View History

2015-03-03 16:59:48 +01:00
<?php
namespace Doctrine\Tests\Models\DDC3597;
use Doctrine\Tests\Models\DDC3597\Embeddable\DDC3597Dimension;
/**
* Description of Image
*
* @author Volker von Hoesslin <volker.von.hoesslin@empora.com>
* @Entity
*/
class DDC3597Image extends DDC3597Media {
2015-03-04 11:55:08 +01:00
const CLASSNAME = __CLASS__;
2015-03-03 16:59:48 +01:00
/**
* @var DDC3597Dimension
* @Embedded(class = "Doctrine\Tests\Models\DDC3597\Embeddable\DDC3597Dimension", columnPrefix = false)
*/
private $dimension;
/**
* @param string $distributionHash
*/
function __construct($distributionHash) {
parent::__construct($distributionHash);
$this->dimension = new DDC3597Dimension();
}
/**
* @return DDC3597Dimension
*/
public function getDimension() {
return $this->dimension;
}
}