src/Active.php
protected function checkActiveDeeply($url,$method)
    {
        if(is_array($url)) {
            foreach ($url as $value) { $urls[] = $value.'*'; }
            return call_user_func_array(array($this->request,$method), $urls) ? $this->activeValue : $this->inActiveValue;
        } else {
            return $this->request->is($url) || $this->request->is($url . '/*') ? $this->activeValue : $this->inActiveValue;
        }
    }
protected function checkActiveDeeply($url,$method)
    {
        if(is_array($url)) {
            foreach ($url as $value) { $urls[] = $value.'*'; }
            return call_user_func_array(array($this->request,$method), $urls) ? $this->activeValue : $this->inActiveValue;
        } else {
            return $this->request->is($url) || $this->request->is($url . '/*') ? $this->activeValue : $this->inActiveValue;
        }
    }
protected function checkActiveDeeply ( $ url , $ method ) { if ( is_array ( $ url ) ) { foreach ( $ url as $ value ) { $ urls [ ] = $ value . '*' ; } return call_user_func_array ( array ( $ this -> request , $ method ) , $ urls ) ? $ this -> activeValue : $ this -> inActiveValue ; } else { return $ this -> request -> is ( $ url ) || $ this -> request -> is ( $ url . '/*' ) ? $ this -> activeValue : $ this -> inActiveValue ; } }
It checks the active state of given url deeply
@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 deeply