25 lines
		
	
	
		
			423 B
		
	
	
	
		
			PHP
		
	
	
		
		
			
		
	
	
			25 lines
		
	
	
		
			423 B
		
	
	
	
		
			PHP
		
	
	
| 
								 | 
							
								<?php declare(strict_types=1);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace OpenApi\Tests\Fixtures\Processors;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * Entity controller trait.
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								trait EntityControllerTrait
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    /**
							 | 
						||
| 
								 | 
							
								     * @OA\Delete(
							 | 
						||
| 
								 | 
							
								     *   tags={"EntityController"},
							 | 
						||
| 
								 | 
							
								     *   path="entities/{id}",
							 | 
						||
| 
								 | 
							
								     *   @OA\Response(
							 | 
						||
| 
								 | 
							
								     *       response="default",
							 | 
						||
| 
								 | 
							
								     *       description="successful operation"
							 | 
						||
| 
								 | 
							
								     *   )
							 | 
						||
| 
								 | 
							
								     * )
							 | 
						||
| 
								 | 
							
								     */
							 | 
						||
| 
								 | 
							
								    public function deleteEntity($id)
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |