| Total Complexity | 6 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | abstract class AbstractPropertyAnnotation implements PropertyAnnotationInterface |
||
| 6 | { |
||
| 7 | protected $code; |
||
| 8 | protected $type; |
||
| 9 | protected $multiple; |
||
| 10 | protected $primaryKey = false; |
||
| 11 | protected $entity; |
||
| 12 | protected $name; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @return string |
||
| 16 | */ |
||
| 17 | 23 | public function getCode() |
|
| 18 | { |
||
| 19 | 23 | return $this->code; |
|
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | 23 | public function getType() |
|
| 26 | { |
||
| 27 | 23 | return $this->type; |
|
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return bool |
||
| 32 | */ |
||
| 33 | 1 | public function isMultiple() |
|
| 34 | { |
||
| 35 | 1 | return $this->multiple; |
|
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | 3 | public function getName() |
|
| 42 | { |
||
| 43 | 3 | return $this->name; |
|
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return bool |
||
| 48 | */ |
||
| 49 | 6 | public function isPrimaryKey() |
|
| 50 | { |
||
| 51 | 6 | return $this->primaryKey; |
|
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | 19 | public function getEntity() |
|
| 60 | } |
||
| 61 | } |