| 1 | <?php |
||
| 14 | abstract class PropertyMappingMarkerBase extends SlumberAnnotation implements PropertyMappingMarker |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Set an alias for this field. The alias will be used for storing the value in the database. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | public $alias; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | 46 | public function getValue() |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | 10 | public function getAlias() |
|
| 35 | { |
||
| 36 | 10 | return $this->alias; |
|
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return bool |
||
| 41 | */ |
||
| 42 | 36 | public function hasAlias() |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return bool |
||
| 49 | */ |
||
| 50 | 48 | public function keepNullValuesInCollections() |
|
| 54 | } |
||
| 55 |