Code Duplication    Length = 5-5 lines in 2 locations

app/bootstrap.php 1 location

@@ 63-67 (lines=5) @@
60
	});
61
62
	// Create Cache Object
63
	$container->set('cache', function($container) {
64
		$logger = $container->getLogger();
65
		$config = $container->get('config')->get('cache');
66
		return new Pool($config, $logger);
67
	});
68
69
	// Create Aura Router Object
70
	$container->set('aura-router', function() {

src/Command/BaseCommand.php 1 location

@@ 99-103 (lines=5) @@
96
			});
97
98
			// Create Cache Object
99
			$container->set('cache', function($container) {
100
				$logger = $container->getLogger();
101
				$config = $container->get('config')->get('cache');
102
				return new Pool($config, $logger);
103
			});
104
105
			// Create session Object
106
			$container->set('session', function() {