update Traffic Api-Command

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-10-29 08:56:23 +01:00
parent e16ea186dc
commit b340221055

View File

@@ -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()
{} {
public function update()
{}
public function listing()
{}
public function delete()
{}
} }
/**
* You cannot update traffic data
*/
public function update()
{
throw new Exception('You cannot update traffic data', 303);
}
public function listing()
{
}
/**
* You cannot delete traffic data
*/
public function delete()
{
throw new Exception('You cannot delete traffic data', 303);
}
}