active() public method

Determine whether the given module is activated.
public active ( 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'));
 }