Nwidart\Modules\Module::active PHP Method

active() public method

Alternate for "enabled" method.
public active ( ) : boolean
return boolean
    public function active()
    {
        return $this->isStatus(1);
    }

Usage Example

Example #1
0
 /** @test */
 public function it_checks_module_enabled_status()
 {
     $this->assertTrue($this->module->enabled());
     $this->assertTrue($this->module->active());
     $this->assertFalse($this->module->notActive());
     $this->assertFalse($this->module->disabled());
 }