source/Service/Content/Parser/InformationListOfLineParser.php 1 location
|
@@ 76-84 (lines=9) @@
|
73 |
|
} |
74 |
|
} |
75 |
|
|
76 |
|
foreach ($listOMandatoryProperties as $name => $mandatoryProperty) { |
77 |
|
if (is_null($mandatoryProperty)) { |
78 |
|
throw new InvalidArgumentException( |
79 |
|
'could not find mandatory property "' |
80 |
|
. $listOfMandatoryPropertyNameToStartsWithPrefix[$name] |
81 |
|
. '"' |
82 |
|
); |
83 |
|
} |
84 |
|
} |
85 |
|
|
86 |
|
$information = new Information( |
87 |
|
$listOMandatoryProperties['date_of_built'], |
source/Service/Content/Parser/StatisticListOfLineParser.php 1 location
|
@@ 140-148 (lines=9) @@
|
137 |
|
} |
138 |
|
} |
139 |
|
|
140 |
|
foreach ($listOMandatoryProperties as $name => $mandatoryProperty) { |
141 |
|
if (is_null($mandatoryProperty)) { |
142 |
|
throw new InvalidArgumentException( |
143 |
|
'could not find mandatory property "' |
144 |
|
. $listOfMandatoryPropertyNameToStartsWithPrefix[$name] |
145 |
|
. '"' |
146 |
|
); |
147 |
|
} |
148 |
|
} |
149 |
|
|
150 |
|
$statistic = new Statistic( |
151 |
|
$listOMandatoryProperties['b_per_seconds'], |