Created
May 17, 2015 02:05
-
-
Save adelarcubs/82e9905ef1c6f8f2c346 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 User\V1\Rest\User; | |
use Zend\Paginator\Paginator; | |
use Zend\Paginator\Adapter\ArrayAdapter; | |
class UserCollection extends Paginator { | |
public function __construct($userCollection) { | |
parent::__construct(new ArrayAdapter($userCollection)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment