| 1 | <?php | ||
| 11 | class YearGraphicalData | ||
| 12 | { | ||
| 13 | |||
| 14 | /** | ||
| 15 | * @var int | ||
| 16 | */ | ||
| 17 | private $year; | ||
| 18 | |||
| 19 | /** | ||
| 20 | * @var GraphicalValueType[] | ||
| 21 | */ | ||
| 22 | private $graphData; | ||
| 23 | |||
| 24 | /** | ||
| 25 | * | ||
| 26 | * @param int $year | ||
| 27 | */ | ||
| 28 | public function __construct($year) | ||
| 33 | |||
| 34 | /** | ||
| 35 | * @return int | ||
| 36 | */ | ||
| 37 | public function getYear() | ||
| 41 | |||
| 42 | /** | ||
| 43 | * @param GraphicalType $graphicalType | ||
| 44 | */ | ||
| 45 | public function addType(GraphicalType $graphicalType) | ||
| 51 | |||
| 52 | /** | ||
| 53 | * @param GraphicalValue $graphicalValue | ||
| 54 | */ | ||
| 55 | public function addGraphicalValue(GraphicalValue $graphicalValue) | ||
| 63 | |||
| 64 | /** | ||
| 65 | * @return array | ||
| 66 | */ | ||
| 67 | public function export() | ||
| 81 | } |