getAllowedRoles() public method

public getAllowedRoles ( )
コード例 #1
0
 public function transform(DocumentationEndpoint $endpoint)
 {
     return ['name' => $endpoint->getName(), 'description' => $endpoint->getDescription(), 'httpMethod' => $endpoint->getHttpMethod(), 'path' => $endpoint->getPath(), 'exampleResponse' => $endpoint->getExampleResponse(), 'allowedRoles' => $endpoint->getAllowedRoles()];
 }