This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Convert from Mozilla's LZ4 format to LZ4 v1.3 | |
* | |
* @link https://dxr.mozilla.org/mozilla-central/source/toolkit/components/lz4/lz4.js | |
* @link https://github.com/lz4/lz4 | |
* @link https://github.com/lz4/lz4/blob/master/doc/lz4_Frame_format.md#legacy-frame | |
* | |
* @param string $input File content in Mozilla's LZ4 format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace API\V1\Rest\Group; | |
class GroupCollection | |
{ | |
public $data; | |
public $count; | |
public $total_items; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Application; | |
use Zend\Http\Request; | |
use Zend\Mvc\MvcEvent; | |
use ZF\Apigility\Provider\ApigilityProviderInterface; | |
class Module implements ApigilityProviderInterface | |
{ | |
public function getConfig() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Application\Rest; | |
use Zend\InputFilter\Input; | |
use Zend\InputFilter\InputFilter; | |
use Zend\Stdlib\Parameters; | |
use ZF\ApiProblem\ApiProblem; | |
use ZF\Rest\ResourceEvent; | |
abstract class AbstractResourceListener extends \ZF\Rest\AbstractResourceListener { |