ExistingConfiguration.php 501 B

1234567891011121314151617181920212223
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Migrations\Configuration\Migration;
  4. use Doctrine\Migrations\Configuration\Configuration;
  5. final class ExistingConfiguration implements ConfigurationLoader
  6. {
  7. /** @var Configuration */
  8. private $configurations;
  9. public function __construct(Configuration $configurations)
  10. {
  11. $this->configurations = $configurations;
  12. }
  13. public function getConfiguration(): Configuration
  14. {
  15. return $this->configurations;
  16. }
  17. }