1
0
mirror of synced 2025-02-03 05:49:25 +03:00
doctrine2/tests/Doctrine/Tests/Models/Cache/AttractionContactInfo.php
2016-12-08 18:15:48 +01:00

32 lines
527 B
PHP

<?php
namespace Doctrine\Tests\Models\Cache;
/**
* @Entity
* @Table("cache_attraction_contact_info")
*/
class AttractionContactInfo extends AttractionInfo
{
/**
* @Column(unique=true)
*/
protected $fone;
public function __construct($fone, Attraction $attraction)
{
$this->setAttraction($attraction);
$this->setFone($fone);
}
public function getFone()
{
return $this->fone;
}
public function setFone($fone)
{
$this->fone = $fone;
}
}