Static method to instantiate the paginator object and return itself
to facilitate chaining methods together.
public function testConstructor() { $this->assertInstanceOf('Pop\\Paginator\\Paginator', new Paginator(array())); $this->assertInstanceOf('Pop\\Paginator\\Paginator', Paginator::factory(array())); }