Method | Description | |
---|---|---|
deleteAuthorAction ( $id ) : |
||
getAuthorAction ( integer $id ) : array | Get single ArticleAuthor. | |
getAuthorsAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array | List all ArticleAuthors. | |
newAuthorAction ( ) : Symfony\Component\Form\FormTypeInterface | Presents the form to use to create a new ArticleAuthor. | |
patchAuthorAction ( |
Update existing article author from the submitted data or create a new article author at a specific location. | |
postAuthorAction ( |
Create a ArticleAuthor from the submitted data. | |
putAuthorAction ( |
Update existing ArticleAuthor from the submitted data or create a new ArticleAuthor at a specific location. |
Method | Description | |
---|---|---|
getOr404 ( mixed $id ) : |
Fetch a ArticleAuthor or throw an 404 Exception. |
public deleteAuthorAction ( $id ) : |
||
$id | ||
return |
public getAuthorAction ( integer $id ) : array | ||
$id | integer | the ArticleAuthor id |
return | array |
public getAuthorsAction ( FOS\RestBundle\Request\ParamFetcherInterface $paramFetcher ) : array | ||
$paramFetcher | FOS\RestBundle\Request\ParamFetcherInterface | param fetcher service |
return | array |
public newAuthorAction ( ) : Symfony\Component\Form\FormTypeInterface | ||
return | Symfony\Component\Form\FormTypeInterface |
public patchAuthorAction ( |
||
$request | the request object | |
$id | integer | the article author id |
return | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public postAuthorAction ( |
||
$request | the request object | |
return | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |
public putAuthorAction ( |
||
$request | the request object | |
$id | integer | the ArticleAuthor id |
return | Symfony\Component\Form\FormTypeInterface | FOS\RestBundle\Controller\Annotations\View |