Files
Chamilo/vendor/knplabs/knp-components/tests/Test/Fixture/Document/Image.php
2025-08-14 22:41:49 +02:00

64 lines
835 B
PHP

<?php
namespace Test\Fixture\Document;
use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
/**
* @ODM\Document
*/
class Image
{
/**
* @ODM\Id
*/
private $id;
/**
* @ODM\Field
*/
private $title;
/**
* @ODM\File
*/
private $file;
/**
* Set file.
*
* @param integer $file
* @return Image
*/
public function setFile($file)
{
$this->file = $file;
return $this;
}
/**
* Get file.
*
* @return integer
*/
public function getFile()
{
return $this->file;
}
public function getId()
{
return $this->id;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}