コード例 #1
0
ファイル: Resource.php プロジェクト: petrw1/raml-generator
 public function addResource(Resource $resource)
 {
     // If it already exists here, complain
     $this->_resources[(string) $resource->getUri()] = $resource;
 }
コード例 #2
0
ファイル: Api.php プロジェクト: petrw1/raml-generator
 public function addResource(Resource $resource)
 {
     $this->_resources[(string) $resource->getUri()] = $resource;
 }