mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
23 lines
387 B
PHP
23 lines
387 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Application;
|
|
|
|
class ApiJsonApplication extends ApiAbstract
|
|
{
|
|
|
|
public function getParameters(array $parameters = array())
|
|
{
|
|
return $parameters;
|
|
}
|
|
|
|
public function unserialize($data)
|
|
{
|
|
return json_decode($data, true);
|
|
}
|
|
|
|
public function getAcceptMimeType()
|
|
{
|
|
return 'application/json';
|
|
}
|
|
}
|