Метод | Описание | |
---|---|---|
deleteAnnouncementAction ( $id ) : FOS\RestBundle\Controller\Annotations\View | ||
getAnnouncementAction ( integer $id ) : |
Get single Announcement. | |
getAnnouncementsAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array | List all Announcements. | |
newAnnouncementAction ( ) : |
Presents the form to use to create a new Announcement. | |
patchAnnouncementAction ( |
Update existing announcement from the submitted data or create a new announcement at a specific location. | |
postAnnouncementAction ( |
Create a Announcement from the submitted data. | |
putAnnouncementAction ( |
Update existing Announcement from the submitted data or create a new Announcement at a specific location. |
Метод | Описание | |
---|---|---|
getOr404 ( mixed $id ) : |
Fetch a Announcement or throw an 404 Exception. |
public deleteAnnouncementAction ( $id ) : FOS\RestBundle\Controller\Annotations\View | ||
$id | ||
Результат | FOS\RestBundle\Controller\Annotations\View |
public getAnnouncementAction ( integer $id ) : |
||
$id | integer | the Announcement id |
Результат |
public getAnnouncementsAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array | ||
$paramFetcher | FOS\RestBundle\Request\ParamFetcherInterface | param fetcher service |
Результат | array |
public newAnnouncementAction ( ) : |
||
Результат |
public patchAnnouncementAction ( |
||
$request | the request object | |
$id | integer | the announcement id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public postAnnouncementAction ( |
||
$request | the request object | |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public putAnnouncementAction ( |
||
$request | the request object | |
$id | integer | the Announcement id |
Результат | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |