src/Active.php
protected function checkActive($url,$method)
    {
        if(is_array($url)){
            return call_user_func_array(array($this->request,$method), $url) ? $this->activeValue : $this->inActiveValue;
        } else{
            return $this->request->{$method}($url) ? $this->activeValue : $this->inActiveValue;
        }
    }
protected function checkActive($url,$method)
    {
        if(is_array($url)){
            return call_user_func_array(array($this->request,$method), $url) ? $this->activeValue : $this->inActiveValue;
        } else{
            return $this->request->{$method}($url) ? $this->activeValue : $this->inActiveValue;
        }
    }
protected function checkActive ( $ url , $ method ) { if ( is_array ( $ url ) ) { return call_user_func_array ( array ( $ this -> request , $ method ) , $ url ) ? $ this -> activeValue : $ this -> inActiveValue ; } else { return $ this -> request -> { $ method } ( $ url ) ? $ this -> activeValue : $ this -> inActiveValue ; } }
It checks the active state of given url specificly
@param  string $url < url point to check >
@return string it returns wherether the state is active or no
It checks the active state of given url specificly