@@ 249-258 (lines=10) @@ | ||
246 | /** |
|
247 | * {@inheritdoc} |
|
248 | */ |
|
249 | public function getConfiguration() : Utils\ArrayHash |
|
250 | { |
|
251 | $data = []; |
|
252 | ||
253 | if (isset($this->composerData['extra']['ipub']['configuration'])) { |
|
254 | $data = $this->composerData['extra']['ipub']['configuration']; |
|
255 | } |
|
256 | ||
257 | return Utils\ArrayHash::from($data); |
|
258 | } |
|
259 | ||
260 | /** |
|
261 | * {@inheritdoc} |
|
@@ 263-272 (lines=10) @@ | ||
260 | /** |
|
261 | * {@inheritdoc} |
|
262 | */ |
|
263 | public function getScripts() : Utils\ArrayHash |
|
264 | { |
|
265 | $scripts = ['IPub\Packages\Scripts\ConfigurationScript']; |
|
266 | ||
267 | if (isset($this->composerData['extra']['ipub']['scripts'])) { |
|
268 | $scripts = array_merge($scripts, $this->composerData['extra']['ipub']['scripts']); |
|
269 | } |
|
270 | ||
271 | return Utils\ArrayHash::from($scripts); |
|
272 | } |
|
273 | ||
274 | /** |
|
275 | * {@inheritdoc} |