update Traffic Api-Command
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -17,20 +17,38 @@
|
|||||||
*/
|
*/
|
||||||
class Traffic extends ApiCommand implements ResourceEntity
|
class Traffic extends ApiCommand implements ResourceEntity
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* You cannot add traffic data
|
||||||
|
*/
|
||||||
public function add()
|
public function add()
|
||||||
{}
|
{
|
||||||
|
throw new Exception('You cannot add traffic data', 303);
|
||||||
|
}
|
||||||
|
|
||||||
public function get()
|
public function get()
|
||||||
{}
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* You cannot update traffic data
|
||||||
|
*/
|
||||||
public function update()
|
public function update()
|
||||||
{}
|
{
|
||||||
|
throw new Exception('You cannot update traffic data', 303);
|
||||||
|
}
|
||||||
|
|
||||||
public function listing()
|
public function listing()
|
||||||
{}
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* You cannot delete traffic data
|
||||||
|
*/
|
||||||
public function delete()
|
public function delete()
|
||||||
{}
|
{
|
||||||
|
throw new Exception('You cannot delete traffic data', 303);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user