get() public method

Alternative for "find" method.
public get ( $name ) : mixed | void
$name
return mixed | void
Esempio 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'));
 }