active() 공개 메소드

Determine whether the given module is activated.
public active ( string $name ) : boolean
$name string
리턴 boolean
예제 #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'));
 }