| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class DateDefinition extends BaseDefinition |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * {@inheritdoc} |
||
| 9 | */ |
||
| 10 | public function modelGetter() |
||
| 11 | { |
||
| 12 | $stubPath = __DIR__ . '/stubs/datetime.stub'; |
||
| 13 | |||
| 14 | return self::getStub($stubPath, [ |
||
| 15 | 'field' => $this->id(), |
||
| 16 | 'field_studly' => $this->studlyId(), |
||
| 17 | ]); |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritdoc} |
||
| 22 | */ |
||
| 23 | public function modelProperty() |
||
| 26 | } |
||
| 27 | } |
||
| 28 |