src/Active.php
public function checkController($controllers)
    {
        if (!$this->controller) {
            return false;
        }

        if (in_array($this->controller, (array)$controllers)) {
            return true;
        }

        return false;
    }
public function checkController($controllers)
    {
        if (!$this->controller) {
            return false;
        }

        if (in_array($this->controller, (array)$controllers)) {
            return true;
        }

        return false;
    }
public function checkController ( $ controllers ) { if ( ! $ this -> controller ) { return false ; } if ( in_array ( $ this -> controller , ( array ) $ controllers ) ) { return true ; } return false ; }
Check if the current controller class matches one of specific values

@param array|string $controllers

@return bool
Check if the current controller class matches one of specific values