1 | <?php |
||
11 | class PulseColumnTimelineValue extends PulseColumnValue |
||
12 | { |
||
13 | /** |
||
14 | * Get a timeline column's content |
||
15 | * |
||
16 | * @api |
||
17 | * |
||
18 | * @since 0.2.1 |
||
19 | * |
||
20 | * @return \DateTime[] The timeline's begin and end dates |
||
21 | * |
||
22 | * array( |
||
23 | * 'from' => \DateTime |
||
24 | * 'to' => \DateTime |
||
25 | * ) |
||
26 | */ |
||
27 | public function getValue () |
||
39 | |||
40 | /** |
||
41 | * Update the values of a timeline column |
||
42 | * |
||
43 | * @api |
||
44 | * |
||
45 | * @param \DateTime $from |
||
46 | * @param \DateTime $to |
||
47 | * |
||
48 | * @since 0.2.1 |
||
49 | */ |
||
50 | public function updateValue ($from, $to) |
||
66 | } |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.