find() public method

Find a specific module.
public find ( $name ) : mixed | void
$name
return mixed | void
Ejemplo n.º 1
0
 /** @test */
 public function it_finds_a_module()
 {
     $this->repository->addLocation(__DIR__ . '/stubs/Recipe');
     $this->assertInstanceOf(Module::class, $this->repository->find('recipe'));
     $this->assertInstanceOf(Module::class, $this->repository->get('recipe'));
 }