1 | <?php |
||
19 | class ContactImage extends FileEntity |
||
20 | { |
||
21 | /** |
||
22 | * @var Contact |
||
23 | */ |
||
24 | protected $contact; |
||
25 | |||
26 | |||
27 | /** |
||
28 | * Gets the URI of an image |
||
29 | * |
||
30 | * The returned URI is NOT prepended with the base path! |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | public function getUri() |
||
38 | |||
39 | /** |
||
40 | * @ODM\PreRemove |
||
41 | */ |
||
42 | public function preRemove() |
||
46 | |||
47 | /** |
||
48 | * @param Contact $contact |
||
49 | * @return ContactImage |
||
50 | */ |
||
51 | public function setContact(Contact $contact) |
||
57 | |||
58 | /** |
||
59 | * @return Contact |
||
60 | */ |
||
61 | public function getContact() |
||
65 | } |
||
66 |