collections() public method

Get all modules as laravel collection instance.
public collections ( ) : Collection
return Collection
Ejemplo n.º 1
0
 /** @test */
 public function it_returns_a_collection()
 {
     $this->repository->addLocation(__DIR__ . '/stubs');
     $this->assertInstanceOf(Collection::class, $this->repository->toCollection());
     $this->assertInstanceOf(Collection::class, $this->repository->collections());
 }