| @@ 233-242 (lines=10) @@ | ||
| 230 | /** |
|
| 231 | * {@inheritdoc} |
|
| 232 | */ |
|
| 233 | public function getConfiguration() : Utils\ArrayHash |
|
| 234 | { |
|
| 235 | $data = []; |
|
| 236 | ||
| 237 | if (isset($this->composerData['extra']['ipub']['configuration'])) { |
|
| 238 | $data = $this->composerData['extra']['ipub']['configuration']; |
|
| 239 | } |
|
| 240 | ||
| 241 | return Utils\ArrayHash::from($data); |
|
| 242 | } |
|
| 243 | ||
| 244 | /** |
|
| 245 | * {@inheritdoc} |
|
| @@ 247-256 (lines=10) @@ | ||
| 244 | /** |
|
| 245 | * {@inheritdoc} |
|
| 246 | */ |
|
| 247 | public function getScripts() : Utils\ArrayHash |
|
| 248 | { |
|
| 249 | $scripts = ['IPub\Packages\Scripts\ConfigurationScript']; |
|
| 250 | ||
| 251 | if (isset($this->composerData['extra']['ipub']['scripts'])) { |
|
| 252 | $scripts = array_merge($scripts, $this->composerData['extra']['ipub']['scripts']); |
|
| 253 | } |
|
| 254 | ||
| 255 | return Utils\ArrayHash::from($scripts); |
|
| 256 | } |
|
| 257 | ||
| 258 | /** |
|
| 259 | * {@inheritdoc} |
|