public collections ( ) : |
||
return |
public function collections()
{
return new Collection($this->enabled());
}
/** @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()); }