PHP Class PartKeepr\ImageBundle\Controller\TemporaryImageController

Inheritance: extends ImageController, use trait Dunglas\ApiBundle\Action\ActionUtilTrait
显示文件 Open project: partkeepr/PartKeepr

Public Methods

Method Description
uploadAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse Handles a temporary image upload.
webcamUploadAction ( Request $request ) : Response Uploads a webcam image.

Protected Methods

Method Description
getEntityClass ( )

Method Details

getEntityClass() protected method

protected getEntityClass ( )

uploadAction() public method

Handles a temporary image upload.
public uploadAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse
$request Symfony\Component\HttpFoundation\Request The request to process
return Symfony\Component\HttpFoundation\JsonResponse The JSON response from the temporary image upload

webcamUploadAction() public method

Uploads a webcam image.
public webcamUploadAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request The request to process
return Symfony\Component\HttpFoundation\Response