PHP Class Sulu\Bundle\MediaBundle\Controller\FormatController

Inheritance: extends Sulu\Component\Rest\RestController, implements FOS\RestBundle\Routing\ClassResourceInterface, use trait Sulu\Component\Rest\RequestParametersTrait
Afficher le fichier Open project: sulu/sulu

Méthodes publiques

Méthode Description
cgetAction ( $id, Request $request ) : Response Returns all format resources.
putAction ( integer $id, string $key, Request $request ) : Response Edits a format resource.

Private Methods

Méthode Description
getFormatManager ( ) : Sulu\Bundle\MediaBundle\Media\FormatManager\FormatManagerInterface
getFormatOptionsManager ( ) : Sulu\Bundle\MediaBundle\Media\FormatOptions\FormatOptionsManagerInterface

Method Details

cgetAction() public méthode

Returns all format resources.
public cgetAction ( $id, Request $request ) : Response
$id
$request Symfony\Component\HttpFoundation\Request
Résultat Symfony\Component\HttpFoundation\Response

putAction() public méthode

Edits a format resource.
public putAction ( integer $id, string $key, Request $request ) : Response
$id integer
$key string
$request Symfony\Component\HttpFoundation\Request
Résultat Symfony\Component\HttpFoundation\Response