| 1 | <?php | ||
| 9 | abstract class AbstractSegmentFieldModifier implements SegmentFieldModifier | ||
| 10 | { | ||
| 11 | public function __construct() | ||
| 15 | |||
| 16 | /** | ||
| 17 | * @var mixed | ||
| 18 | */ | ||
| 19 | protected $form; | ||
| 20 | |||
| 21 | /** | ||
| 22 | * @var SegmentField | ||
| 23 | */ | ||
| 24 | protected $field; | ||
| 25 | |||
| 26 | /** | ||
| 27 | * @var mixed | ||
| 28 | */ | ||
| 29 | protected $request; | ||
| 30 | |||
| 31 | /** | ||
| 32 | * @inheritdoc | ||
| 33 | * | ||
| 34 | * @param mixed $form | ||
| 35 | * | ||
| 36 | * @return $this | ||
| 37 | */ | ||
| 38 | public function setForm($form) | ||
| 44 | |||
| 45 | /** | ||
| 46 | * @return mixed | ||
| 47 | */ | ||
| 48 | public function getForm() | ||
| 52 | |||
| 53 | /** | ||
| 54 | * @inheritdoc | ||
| 55 | * | ||
| 56 | * @param SegmentField $field | ||
| 57 | * | ||
| 58 | * @return $this | ||
| 59 | */ | ||
| 60 | public function setField(SegmentField $field) | ||
| 66 | |||
| 67 | /** | ||
| 68 | * @return SegmentField | ||
| 69 | */ | ||
| 70 | public function getField() | ||
| 74 | |||
| 75 | /** | ||
| 76 | * @inheritdoc | ||
| 77 | * | ||
| 78 | * @param mixed $request | ||
| 79 | * | ||
| 80 | * @return $this | ||
| 81 | */ | ||
| 82 | public function setRequest($request) | ||
| 88 | |||
| 89 | /** | ||
| 90 | * @return mixed | ||
| 91 | */ | ||
| 92 | public function getRequest() | ||
| 96 | |||
| 97 | /** | ||
| 98 | * @return static | ||
| 99 | */ | ||
| 100 | public static function create() | ||
| 110 | } | ||
| 111 |