enable() public method

Enabling a specific module.
public enable ( string $name ) : boolean
$name string
return boolean
Esempio n. 1
0
 /** @test */
 public function it_can_enable_a_module()
 {
     $this->repository->addLocation(__DIR__ . '/stubs/Recipe');
     $this->repository->enable('Recipe');
     $this->assertTrue($this->repository->active('Recipe'));
 }