Example #1
0
 /**
  * Get the value at a given offset.
  *
  * @param string $key
  * @return mixed 
  * @static 
  */
 public static function offsetGet($key)
 {
     //Method inherited from \Illuminate\Container\Container
     return \Illuminate\Foundation\Application::offsetGet($key);
 }
Example #2
0
 function it_should_register_core_contract(Application $app)
 {
     $app->offsetGet(Argument::type('string'))->shouldBeCalled();
     $app->singleton('Atlas\\CoreContract', 'Atlas\\Core')->shouldBeCalled();
     $this->register();
 }