| @@ 60-64 (lines=5) @@ | ||
| 57 | $method = MethodInterface::DELETE; |
|
| 58 | $path = $path->append('{identity}'); |
|
| 59 | break; |
|
| 60 | case Action::LINK: |
|
| 61 | $method = MethodInterface::LINK; |
|
| 62 | $path = $path->append('{identity}'); |
|
| 63 | $condition = 'request.headers.has(\'Link\')'; |
|
| 64 | break; |
|
| 65 | case Action::UNLINK: |
|
| 66 | $method = MethodInterface::UNLINK; |
|
| 67 | $path = $path->append('{identity}'); |
|
| @@ 65-69 (lines=5) @@ | ||
| 62 | $path = $path->append('{identity}'); |
|
| 63 | $condition = 'request.headers.has(\'Link\')'; |
|
| 64 | break; |
|
| 65 | case Action::UNLINK: |
|
| 66 | $method = MethodInterface::UNLINK; |
|
| 67 | $path = $path->append('{identity}'); |
|
| 68 | $condition = 'request.headers.has(\'Link\')'; |
|
| 69 | break; |
|
| 70 | case Action::OPTIONS: |
|
| 71 | $method = MethodInterface::OPTIONS; |
|
| 72 | break; |
|