getService() public method

public getService ( $id )
Ejemplo n.º 1
0
 /**
  * @expectedException InvalidArgumentException
  * @expectedExceptionMessage There is no service defined with id [abc]
  */
 public function _testGetServiceWithoutSet()
 {
     $this->context->getService('abc');
 }