Esempio n. 1
0
 public function testDump()
 {
     $data = ['key' => 'value'];
     $container = new Container($data);
     $this->assertEquals($data, $container->dump());
     $container = $container->set('something', 'some value');
     $this->assertInstanceOf('TallTree\\Roots\\Tools\\Container', $container);
     $data['something'] = 'some value';
     $this->assertEquals($data, $container->dump());
 }
Esempio n. 2
0
 public function dump()
 {
     return $this->parameters->dump();
 }