Example #1
0
 public function addResource(Resource $resource)
 {
     // If it already exists here, complain
     $this->_resources[(string) $resource->getUri()] = $resource;
 }
Example #2
0
 public function addResource(Resource $resource)
 {
     $this->_resources[(string) $resource->getUri()] = $resource;
 }