2013-10-05 12:55:03 +02:00
|
|
|
<?php
|
|
|
|
class PostController extends AbstractController
|
|
|
|
{
|
|
|
|
/**
|
2013-10-05 19:24:08 +02:00
|
|
|
* @route /posts
|
|
|
|
* @route /posts/{query}
|
|
|
|
* @validate query .*
|
2013-10-05 12:55:03 +02:00
|
|
|
*/
|
2013-10-05 19:24:08 +02:00
|
|
|
public function listAction($query = null)
|
2013-10-05 12:55:03 +02:00
|
|
|
{
|
2013-10-05 19:24:08 +02:00
|
|
|
throw new Exception('Not implemented');
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @route /post/upload
|
|
|
|
*/
|
|
|
|
public function uploadAction()
|
|
|
|
{
|
|
|
|
throw new Exception('Not implemented');
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @route /post/{id}
|
|
|
|
*/
|
|
|
|
public function showAction($id)
|
|
|
|
{
|
|
|
|
throw new Exception('Not implemented');
|
2013-10-05 12:55:03 +02:00
|
|
|
}
|
|
|
|
}
|