getResource() публичный Метод

Get resource
public getResource ( $key ) : string
$key
Результат string
Пример #1
0
 public function testResourceThatDoesntExist()
 {
     $this->setExpectedException('Exception', "Resource 'DoesNotExist' not found in stack 'test-stack1'");
     $this->stack->getResource('DoesNotExist');
 }