Complex classes like Configuration often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use Configuration, and based on these observations, apply Extract Interface, too.
| 1 | <?php |
||
| 40 | class Configuration implements ConfigurationInterface |
||
| 41 | { |
||
| 42 | |||
| 43 | /** |
||
| 44 | * The default PID filename to use. |
||
| 45 | * |
||
| 46 | * @var string |
||
| 47 | */ |
||
| 48 | const PID_FILENAME = 'importer.pid'; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Mapping for boolean values passed on the console. |
||
| 52 | * |
||
| 53 | * @var array |
||
| 54 | */ |
||
| 55 | protected $booleanMapping = array( |
||
| 56 | 'true' => true, |
||
| 57 | 'false' => false, |
||
| 58 | '1' => true, |
||
| 59 | '0' => false, |
||
| 60 | 'on' => true, |
||
| 61 | 'off' => false |
||
| 62 | ); |
||
| 63 | |||
| 64 | /** |
||
| 65 | * The system name to use. |
||
| 66 | * |
||
| 67 | * @var string |
||
| 68 | * @Type("string") |
||
| 69 | * @SerializedName("system-name") |
||
| 70 | */ |
||
| 71 | protected $systemName; |
||
| 72 | |||
| 73 | /** |
||
| 74 | * The operation name to use. |
||
| 75 | * |
||
| 76 | * @var string |
||
| 77 | * @Type("string") |
||
| 78 | * @SerializedName("operation-name") |
||
| 79 | */ |
||
| 80 | protected $operationName; |
||
| 81 | |||
| 82 | /** |
||
| 83 | * The entity type code to use. |
||
| 84 | * |
||
| 85 | * @var string |
||
| 86 | * @Type("string") |
||
| 87 | * @SerializedName("entity-type-code") |
||
| 88 | */ |
||
| 89 | protected $entityTypeCode; |
||
| 90 | |||
| 91 | /** |
||
| 92 | * The Magento installation directory. |
||
| 93 | * |
||
| 94 | * @var string |
||
| 95 | * @Type("string") |
||
| 96 | * @SerializedName("installation-dir") |
||
| 97 | */ |
||
| 98 | protected $installationDir; |
||
| 99 | |||
| 100 | /** |
||
| 101 | * The source directory that has to be watched for new files. |
||
| 102 | * |
||
| 103 | * @var string |
||
| 104 | * @Type("string") |
||
| 105 | * @SerializedName("source-dir") |
||
| 106 | */ |
||
| 107 | protected $sourceDir; |
||
| 108 | |||
| 109 | /** |
||
| 110 | * The target directory with the files that has been imported. |
||
| 111 | * |
||
| 112 | * @var string |
||
| 113 | * @Type("string") |
||
| 114 | * @SerializedName("target-dir") |
||
| 115 | */ |
||
| 116 | protected $targetDir; |
||
| 117 | |||
| 118 | /** |
||
| 119 | * The Magento edition, EE or CE. |
||
| 120 | * |
||
| 121 | * @var string |
||
| 122 | * @Type("string") |
||
| 123 | * @SerializedName("magento-edition") |
||
| 124 | */ |
||
| 125 | protected $magentoEdition = 'CE'; |
||
| 126 | |||
| 127 | /** |
||
| 128 | * The Magento version, e. g. 2.1.0. |
||
| 129 | * |
||
| 130 | * @var string |
||
| 131 | * @Type("string") |
||
| 132 | * @SerializedName("magento-version") |
||
| 133 | */ |
||
| 134 | protected $magentoVersion = '2.1.2'; |
||
| 135 | |||
| 136 | /** |
||
| 137 | * ArrayCollection with the information of the configured databases. |
||
| 138 | * |
||
| 139 | * @var \Doctrine\Common\Collections\ArrayCollection |
||
| 140 | * @Type("ArrayCollection<TechDivision\Import\Configuration\Jms\Configuration\Database>") |
||
| 141 | */ |
||
| 142 | protected $databases; |
||
| 143 | |||
| 144 | /** |
||
| 145 | * ArrayCollection with the information of the configured loggers. |
||
| 146 | * |
||
| 147 | * @var \Doctrine\Common\Collections\ArrayCollection |
||
| 148 | * @Type("ArrayCollection<TechDivision\Import\Configuration\Jms\Configuration\Logger>") |
||
| 149 | */ |
||
| 150 | protected $loggers = array(); |
||
| 151 | |||
| 152 | /** |
||
| 153 | * ArrayCollection with the information of the configured operations. |
||
| 154 | * |
||
| 155 | * @var \Doctrine\Common\Collections\ArrayCollection |
||
| 156 | * @Type("ArrayCollection<TechDivision\Import\Configuration\Jms\Configuration\Operation>") |
||
| 157 | */ |
||
| 158 | protected $operations = array(); |
||
| 159 | |||
| 160 | /** |
||
| 161 | * The source date format to use in the subject. |
||
| 162 | * |
||
| 163 | * @var string |
||
| 164 | * @Type("string") |
||
| 165 | * @SerializedName("source-date-format") |
||
| 166 | */ |
||
| 167 | protected $sourceDateFormat = 'n/d/y, g:i A'; |
||
| 168 | |||
| 169 | /** |
||
| 170 | * The subject's multiple field delimiter character for fields with multiple values, defaults to (,). |
||
| 171 | * |
||
| 172 | * @var string |
||
| 173 | * @Type("string") |
||
| 174 | * @SerializedName("multiple-field-delimiter") |
||
| 175 | */ |
||
| 176 | protected $multipleFieldDelimiter = ','; |
||
| 177 | |||
| 178 | /** |
||
| 179 | * The subject's multiple value delimiter character for fields with multiple values, defaults to (|). |
||
| 180 | * |
||
| 181 | * @var string |
||
| 182 | * @Type("string") |
||
| 183 | * @SerializedName("multiple-value-delimiter") |
||
| 184 | */ |
||
| 185 | protected $multipleValueDelimiter = '|'; |
||
| 186 | |||
| 187 | /** |
||
| 188 | * The subject's delimiter character for CSV files. |
||
| 189 | * |
||
| 190 | * @var string |
||
| 191 | * @Type("string") |
||
| 192 | */ |
||
| 193 | protected $delimiter; |
||
| 194 | |||
| 195 | /** |
||
| 196 | * The subject's enclosure character for CSV files. |
||
| 197 | * |
||
| 198 | * @var string |
||
| 199 | * @Type("string") |
||
| 200 | */ |
||
| 201 | protected $enclosure; |
||
| 202 | |||
| 203 | /** |
||
| 204 | * The subject's escape character for CSV files. |
||
| 205 | * |
||
| 206 | * @var string |
||
| 207 | * @Type("string") |
||
| 208 | */ |
||
| 209 | protected $escape; |
||
| 210 | |||
| 211 | /** |
||
| 212 | * The subject's source charset for the CSV file. |
||
| 213 | * |
||
| 214 | * @var string |
||
| 215 | * @Type("string") |
||
| 216 | * @SerializedName("from-charset") |
||
| 217 | */ |
||
| 218 | protected $fromCharset; |
||
| 219 | |||
| 220 | /** |
||
| 221 | * The subject's target charset for a CSV file. |
||
| 222 | * |
||
| 223 | * @var string |
||
| 224 | * @Type("string") |
||
| 225 | * @SerializedName("to-charset") |
||
| 226 | */ |
||
| 227 | protected $toCharset; |
||
| 228 | |||
| 229 | /** |
||
| 230 | * The subject's file mode for a CSV target file. |
||
| 231 | * |
||
| 232 | * @var string |
||
| 233 | * @Type("string") |
||
| 234 | * @SerializedName("file-mode") |
||
| 235 | */ |
||
| 236 | protected $fileMode; |
||
| 237 | |||
| 238 | /** |
||
| 239 | * The flag to signal that the subject has to use the strict mode or not. |
||
| 240 | * |
||
| 241 | * @var boolean |
||
| 242 | * @Type("boolean") |
||
| 243 | * @SerializedName("strict-mode") |
||
| 244 | */ |
||
| 245 | protected $strictMode; |
||
| 246 | |||
| 247 | /** |
||
| 248 | * The flag whether or not the import artefacts have to be archived. |
||
| 249 | * |
||
| 250 | * @var boolean |
||
| 251 | * @Type("boolean") |
||
| 252 | * @SerializedName("archive-artefacts") |
||
| 253 | */ |
||
| 254 | protected $archiveArtefacts; |
||
| 255 | |||
| 256 | /** |
||
| 257 | * The directory where the archives will be stored. |
||
| 258 | * |
||
| 259 | * @var string |
||
| 260 | * @Type("string") |
||
| 261 | * @SerializedName("archive-dir") |
||
| 262 | */ |
||
| 263 | protected $archiveDir; |
||
| 264 | |||
| 265 | /** |
||
| 266 | * The flag to signal that the subject has to use the debug mode or not. |
||
| 267 | * |
||
| 268 | * @var boolean |
||
| 269 | * @Type("boolean") |
||
| 270 | * @SerializedName("debug-mode") |
||
| 271 | */ |
||
| 272 | protected $debugMode = false; |
||
| 273 | |||
| 274 | /** |
||
| 275 | * The log level to use (see Monolog documentation). |
||
| 276 | * |
||
| 277 | * @var string |
||
| 278 | * @Type("string") |
||
| 279 | * @SerializedName("log-level") |
||
| 280 | */ |
||
| 281 | protected $logLevel = LogLevel::INFO; |
||
| 282 | |||
| 283 | /** |
||
| 284 | * The explicit DB ID to use. |
||
| 285 | * |
||
| 286 | * @var string |
||
| 287 | * @Type("string") |
||
| 288 | * @SerializedName("use-db-id") |
||
| 289 | */ |
||
| 290 | protected $useDbId; |
||
| 291 | |||
| 292 | /** |
||
| 293 | * The explicit PID filename to use. |
||
| 294 | * |
||
| 295 | * @var string |
||
| 296 | * @Type("string") |
||
| 297 | * @SerializedName("pid-filename") |
||
| 298 | */ |
||
| 299 | protected $pidFilename; |
||
| 300 | |||
| 301 | /** |
||
| 302 | * The collection with the paths to additional vendor directories. |
||
| 303 | * |
||
| 304 | * @var \Doctrine\Common\Collections\ArrayCollection |
||
| 305 | * @Type("ArrayCollection<TechDivision\Import\Configuration\Jms\Configuration\VendorDir>") |
||
| 306 | * @SerializedName("additional-vendor-dirs") |
||
| 307 | */ |
||
| 308 | protected $additionalVendorDirs = array(); |
||
| 309 | |||
| 310 | /** |
||
| 311 | * The array with the Magento Edition specific extension libraries. |
||
| 312 | * |
||
| 313 | * @var array |
||
| 314 | * @Type("array") |
||
| 315 | * @SerializedName("extension-libraries") |
||
| 316 | */ |
||
| 317 | protected $extensionLibraries = array(); |
||
| 318 | |||
| 319 | /** |
||
| 320 | * Return's the array with the plugins of the operation to use. |
||
| 321 | * |
||
| 322 | * @return \Doctrine\Common\Collections\ArrayCollection The ArrayCollection with the plugins |
||
| 323 | * @throws \Exception Is thrown, if no plugins are available for the actual operation |
||
| 324 | */ |
||
| 325 | public function getPlugins() |
||
| 339 | |||
| 340 | /** |
||
| 341 | * Map's the passed value to a boolean. |
||
| 342 | * |
||
| 343 | * @param string $value The value to map |
||
| 344 | * |
||
| 345 | * @return boolean The mapped value |
||
| 346 | * @throws \Exception Is thrown, if the value can't be mapped |
||
| 347 | */ |
||
| 348 | public function mapBoolean($value) |
||
| 359 | |||
| 360 | /** |
||
| 361 | * Return's the operation, initialize from the actual operation name. |
||
| 362 | * |
||
| 363 | * @return \TechDivision\Import\Configuration\OperationInterface The operation instance |
||
| 364 | */ |
||
| 365 | protected function getOperation() |
||
| 369 | |||
| 370 | /** |
||
| 371 | * Return's the operation name that has to be used. |
||
| 372 | * |
||
| 373 | * @param string $operationName The operation name that has to be used |
||
| 374 | * |
||
| 375 | * @return void |
||
| 376 | */ |
||
| 377 | public function setOperationName($operationName) |
||
| 381 | |||
| 382 | /** |
||
| 383 | * Return's the operation name that has to be used. |
||
| 384 | * |
||
| 385 | * @return string The operation name that has to be used |
||
| 386 | */ |
||
| 387 | public function getOperationName() |
||
| 391 | |||
| 392 | /** |
||
| 393 | * Set's the Magento installation directory. |
||
| 394 | * |
||
| 395 | * @param string $installationDir The Magento installation directory |
||
| 396 | * |
||
| 397 | * @return void |
||
| 398 | */ |
||
| 399 | public function setInstallationDir($installationDir) |
||
| 403 | |||
| 404 | /** |
||
| 405 | * Return's the Magento installation directory. |
||
| 406 | * |
||
| 407 | * @return string The Magento installation directory |
||
| 408 | */ |
||
| 409 | public function getInstallationDir() |
||
| 413 | |||
| 414 | /** |
||
| 415 | * Set's the source directory that has to be watched for new files. |
||
| 416 | * |
||
| 417 | * @param string $sourceDir The source directory |
||
| 418 | * |
||
| 419 | * @return void |
||
| 420 | */ |
||
| 421 | public function setSourceDir($sourceDir) |
||
| 425 | |||
| 426 | /** |
||
| 427 | * Return's the source directory that has to be watched for new files. |
||
| 428 | * |
||
| 429 | * @return string The source directory |
||
| 430 | */ |
||
| 431 | public function getSourceDir() |
||
| 435 | |||
| 436 | /** |
||
| 437 | * Set's the target directory with the files that has been imported. |
||
| 438 | * |
||
| 439 | * @param string $targetDir The target directory |
||
| 440 | * |
||
| 441 | * @return void |
||
| 442 | */ |
||
| 443 | public function setTargetDir($targetDir) |
||
| 447 | |||
| 448 | /** |
||
| 449 | * Return's the target directory with the files that has been imported. |
||
| 450 | * |
||
| 451 | * @return string The target directory |
||
| 452 | */ |
||
| 453 | public function getTargetDir() |
||
| 457 | |||
| 458 | /** |
||
| 459 | * Set's the Magento edition, EE or CE. |
||
| 460 | * |
||
| 461 | * @param string $magentoEdition The Magento edition |
||
| 462 | * |
||
| 463 | * @return void |
||
| 464 | */ |
||
| 465 | public function setMagentoEdition($magentoEdition) |
||
| 469 | |||
| 470 | /** |
||
| 471 | * Return's the Magento edition, EE or CE. |
||
| 472 | * |
||
| 473 | * @return string The Magento edition |
||
| 474 | */ |
||
| 475 | public function getMagentoEdition() |
||
| 479 | |||
| 480 | /** |
||
| 481 | * Return's the Magento version, e. g. 2.1.0. |
||
| 482 | * |
||
| 483 | * @param string $magentoVersion The Magento version |
||
| 484 | * |
||
| 485 | * @return void |
||
| 486 | */ |
||
| 487 | public function setMagentoVersion($magentoVersion) |
||
| 491 | |||
| 492 | /** |
||
| 493 | * Return's the Magento version, e. g. 2.1.0. |
||
| 494 | * |
||
| 495 | * @return string The Magento version |
||
| 496 | */ |
||
| 497 | public function getMagentoVersion() |
||
| 501 | |||
| 502 | /** |
||
| 503 | * Return's the subject's source date format to use. |
||
| 504 | * |
||
| 505 | * @return string The source date format |
||
| 506 | */ |
||
| 507 | public function getSourceDateFormat() |
||
| 511 | |||
| 512 | /** |
||
| 513 | * Set's the subject's source date format to use. |
||
| 514 | * |
||
| 515 | * @param string $sourceDateFormat The source date format |
||
| 516 | * |
||
| 517 | * @return void |
||
| 518 | */ |
||
| 519 | public function setSourceDateFormat($sourceDateFormat) |
||
| 523 | |||
| 524 | /** |
||
| 525 | * Return's the entity type code to be used. |
||
| 526 | * |
||
| 527 | * @return string The entity type code to be used |
||
| 528 | */ |
||
| 529 | public function getEntityTypeCode() |
||
| 533 | |||
| 534 | /** |
||
| 535 | * Set's the entity type code to be used. |
||
| 536 | * |
||
| 537 | * @param string $entityTypeCode The entity type code |
||
| 538 | * |
||
| 539 | * @return void |
||
| 540 | */ |
||
| 541 | public function setEntityTypeCode($entityTypeCode) |
||
| 545 | |||
| 546 | /** |
||
| 547 | * Return's the multiple field delimiter character to use, default value is comma (,). |
||
| 548 | * |
||
| 549 | * @return string The multiple field delimiter character |
||
| 550 | */ |
||
| 551 | public function getMultipleFieldDelimiter() |
||
| 555 | |||
| 556 | /** |
||
| 557 | * Return's the multiple value delimiter character to use, default value is comma (|). |
||
| 558 | * |
||
| 559 | * @return string The multiple value delimiter character |
||
| 560 | */ |
||
| 561 | public function getMultipleValueDelimiter() |
||
| 565 | |||
| 566 | /** |
||
| 567 | * Return's the delimiter character to use, default value is comma (,). |
||
| 568 | * |
||
| 569 | * @return string The delimiter character |
||
| 570 | */ |
||
| 571 | public function getDelimiter() |
||
| 575 | |||
| 576 | /** |
||
| 577 | * The enclosure character to use, default value is double quotation ("). |
||
| 578 | * |
||
| 579 | * @return string The enclosure character |
||
| 580 | */ |
||
| 581 | public function getEnclosure() |
||
| 585 | |||
| 586 | /** |
||
| 587 | * The escape character to use, default value is backslash (\). |
||
| 588 | * |
||
| 589 | * @return string The escape character |
||
| 590 | */ |
||
| 591 | public function getEscape() |
||
| 595 | |||
| 596 | /** |
||
| 597 | * The file encoding of the CSV source file, default value is UTF-8. |
||
| 598 | * |
||
| 599 | * @return string The charset used by the CSV source file |
||
| 600 | */ |
||
| 601 | public function getFromCharset() |
||
| 605 | |||
| 606 | /** |
||
| 607 | * The file encoding of the CSV targetfile, default value is UTF-8. |
||
| 608 | * |
||
| 609 | * @return string The charset used by the CSV target file |
||
| 610 | */ |
||
| 611 | public function getToCharset() |
||
| 615 | |||
| 616 | /** |
||
| 617 | * The file mode of the CSV target file, either one of write or append, default is write. |
||
| 618 | * |
||
| 619 | * @return string The file mode of the CSV target file |
||
| 620 | */ |
||
| 621 | public function getFileMode() |
||
| 625 | |||
| 626 | /** |
||
| 627 | * Queries whether or not strict mode is enabled or not, default is TRUE. |
||
| 628 | * |
||
| 629 | * @return boolean TRUE if strict mode is enabled, else FALSE |
||
| 630 | */ |
||
| 631 | public function isStrictMode() |
||
| 635 | |||
| 636 | /** |
||
| 637 | * Remove's all configured database configuration. |
||
| 638 | * |
||
| 639 | * @return void |
||
| 640 | */ |
||
| 641 | public function clearDatabases() |
||
| 645 | |||
| 646 | /** |
||
| 647 | * Add's the passed database configuration. |
||
| 648 | * |
||
| 649 | * @param \TechDivision\Import\Configuration\DatabaseConfigurationInterface $database The database configuration |
||
| 650 | * |
||
| 651 | * @return void |
||
| 652 | */ |
||
| 653 | public function addDatabase(DatabaseConfigurationInterface $database) |
||
| 657 | |||
| 658 | /** |
||
| 659 | * Return's the number database configurations. |
||
| 660 | * |
||
| 661 | * @return integer The number of database configurations |
||
| 662 | */ |
||
| 663 | public function countDatabases() |
||
| 667 | |||
| 668 | /** |
||
| 669 | * Return's the database configuration. |
||
| 670 | * |
||
| 671 | * If an explicit DB ID is specified, the method tries to return the database with this ID. If |
||
| 672 | * the database configuration is NOT available, an execption is thrown. |
||
| 673 | * |
||
| 674 | * If no explicit DB ID is specified, the method tries to return the default database configuration, |
||
| 675 | * if not available the first one. |
||
| 676 | * |
||
| 677 | * @return \TechDivision\Import\Configuration\Jms\Configuration\Database The database configuration |
||
| 678 | * @throws \Exception Is thrown, if no database configuration is available |
||
| 679 | */ |
||
| 680 | public function getDatabase() |
||
| 713 | |||
| 714 | /** |
||
| 715 | * Return's the ArrayCollection with the configured operations. |
||
| 716 | * |
||
| 717 | * @return \Doctrine\Common\Collections\ArrayCollection The ArrayCollection with the operations |
||
| 718 | */ |
||
| 719 | public function getOperations() |
||
| 723 | |||
| 724 | /** |
||
| 725 | * Return's the ArrayCollection with the configured loggers. |
||
| 726 | * |
||
| 727 | * @return \Doctrine\Common\Collections\ArrayCollection The ArrayCollection with the loggers |
||
| 728 | */ |
||
| 729 | public function getLoggers() |
||
| 733 | |||
| 734 | /** |
||
| 735 | * Return's the TRUE if the import artefacts have to be archived. |
||
| 736 | * |
||
| 737 | * @return boolean TRUE if the import artefacts have to be archived |
||
| 738 | */ |
||
| 739 | public function haveArchiveArtefacts() |
||
| 743 | |||
| 744 | /** |
||
| 745 | * The directory where the archives will be stored. |
||
| 746 | * |
||
| 747 | * @param string $archiveDir The archive directory |
||
| 748 | * |
||
| 749 | * @return void |
||
| 750 | */ |
||
| 751 | public function setArchiveDir($archiveDir) |
||
| 755 | |||
| 756 | /** |
||
| 757 | * The directory where the archives will be stored. |
||
| 758 | * |
||
| 759 | * @return string The archive directory |
||
| 760 | */ |
||
| 761 | public function getArchiveDir() |
||
| 765 | |||
| 766 | /** |
||
| 767 | * Set's the debug mode. |
||
| 768 | * |
||
| 769 | * @param boolean $debugMode TRUE if debug mode is enabled, else FALSE |
||
| 770 | * |
||
| 771 | * @return void |
||
| 772 | */ |
||
| 773 | public function setDebugMode($debugMode) |
||
| 777 | |||
| 778 | /** |
||
| 779 | * Queries whether or not debug mode is enabled or not, default is TRUE. |
||
| 780 | * |
||
| 781 | * @return boolean TRUE if debug mode is enabled, else FALSE |
||
| 782 | */ |
||
| 783 | public function isDebugMode() |
||
| 787 | |||
| 788 | /** |
||
| 789 | * Set's the log level to use. |
||
| 790 | * |
||
| 791 | * @param string $logLevel The log level to use |
||
| 792 | * |
||
| 793 | * @return void |
||
| 794 | */ |
||
| 795 | public function setLogLevel($logLevel) |
||
| 799 | |||
| 800 | /** |
||
| 801 | * Return's the log level to use. |
||
| 802 | * |
||
| 803 | * @return string The log level to use |
||
| 804 | */ |
||
| 805 | public function getLogLevel() |
||
| 809 | |||
| 810 | /** |
||
| 811 | * Set's the explicit DB ID to use. |
||
| 812 | * |
||
| 813 | * @param string $useDbId The explicit DB ID to use |
||
| 814 | * |
||
| 815 | * @return void |
||
| 816 | */ |
||
| 817 | public function setUseDbId($useDbId) |
||
| 821 | |||
| 822 | /** |
||
| 823 | * Return's the explicit DB ID to use. |
||
| 824 | * |
||
| 825 | * @return string The explicit DB ID to use |
||
| 826 | */ |
||
| 827 | public function getUseDbId() |
||
| 831 | |||
| 832 | /** |
||
| 833 | * Set's the PID filename to use. |
||
| 834 | * |
||
| 835 | * @param string $pidFilename The PID filename to use |
||
| 836 | * |
||
| 837 | * @return void |
||
| 838 | */ |
||
| 839 | public function setPidFilename($pidFilename) |
||
| 843 | |||
| 844 | /** |
||
| 845 | * Return's the PID filename to use. |
||
| 846 | * |
||
| 847 | * @return string The PID filename to use |
||
| 848 | */ |
||
| 849 | public function getPidFilename() |
||
| 853 | |||
| 854 | /** |
||
| 855 | * Set's the systemm name to be used. |
||
| 856 | * |
||
| 857 | * @param string $systemName The system name to be used |
||
| 858 | * |
||
| 859 | * @return void |
||
| 860 | */ |
||
| 861 | public function setSystemName($systemName) |
||
| 865 | |||
| 866 | /** |
||
| 867 | * Return's the systemm name to be used. |
||
| 868 | * |
||
| 869 | * @return string The system name to be used |
||
| 870 | */ |
||
| 871 | public function getSystemName() |
||
| 875 | |||
| 876 | /** |
||
| 877 | * Set's the collection with the path of the Magento Edition specific extension libraries. |
||
| 878 | * |
||
| 879 | * @param array $extensionLibraries The paths of the Magento Edition specific extension libraries |
||
| 880 | * |
||
| 881 | * @return void |
||
| 882 | */ |
||
| 883 | public function setExtensionLibraries(array $extensionLibraries) |
||
| 887 | |||
| 888 | /** |
||
| 889 | * Return's an array with the path of the Magento Edition specific extension libraries. |
||
| 890 | * |
||
| 891 | * @return array The paths of the Magento Edition specific extension libraries |
||
| 892 | */ |
||
| 893 | public function getExtensionLibraries() |
||
| 897 | |||
| 898 | /** |
||
| 899 | * Return's a collection with the path to additional vendor directories. |
||
| 900 | * |
||
| 901 | * @return \Doctrine\Common\Collections\ArrayCollection The paths to additional vendor directories |
||
| 902 | */ |
||
| 903 | public function getAdditionalVendorDirs() |
||
| 907 | } |
||
| 908 |