1: <?php
2:
3: /**
4: * Deep
5: *
6: * @package rsanchez\Deep
7: * @author Rob Sanchez <info@robsanchez.com>
8: */
9:
10: namespace rsanchez\Deep\Model;
11:
12: use rsanchez\Deep\Model\AbstractProperty;
13:
14: /**
15: * Interface for field models
16: */
17: abstract class AbstractField extends AbstractProperty
18: {
19: /**
20: * Get the field short name
21: *
22: * @return string
23: */
24: public function getFieldNameAttribute($value)
25: {
26: return $value;
27: }
28:
29: /**
30: * Get the field ID
31: *
32: * @return string
33: */
34: public function getFieldIdAttribute($value)
35: {
36: return $value;
37: }
38: }
39: