getResource() public méthode

Get resource
public getResource ( $key ) : string
$key
Résultat string
 public function testResourceThatDoesntExist()
 {
     $this->setExpectedException('Exception', "Resource 'DoesNotExist' not found in stack 'test-stack1'");
     $this->stack->getResource('DoesNotExist');
 }