Nwidart\Modules\Module::notActive PHP Method

notActive() public method

Determine whether the current module not activated.
public notActive ( ) : boolean
return boolean
    public function notActive()
    {
        return !$this->active();
    }

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());
 }