original_string: public function get( $item = null )
    {
      if( empty( $this->_detect ) || !array_key_exists( $item, $this->_detect ) )
      {
        $this->_detect = $this->detect();
      }
  
      if( $item )
      {
        return ( array_key_exists( $item, $this->_detect ) ) ? $this->_detect[ $item ] : false;
      }
  
      return $this->_detect;
    }
code: public function get( $item = null )
    {
      if( empty( $this->_detect ) || !array_key_exists( $item, $this->_detect ) )
      {
        $this->_detect = $this->detect();
      }
  
      if( $item )
      {
        return ( array_key_exists( $item, $this->_detect ) ) ? $this->_detect[ $item ] : false;
      }
  
      return $this->_detect;
    }
code_tokens: public function get ( $ item = null ) { if ( empty ( $ this -> _detect ) || ! array_key_exists ( $ item , $ this -> _detect ) ) { $ this -> _detect = $ this -> detect ( ) ; } if ( $ item ) { return ( array_key_exists ( $ item , $ this -> _detect ) ) ? $ this -> _detect [ $ item ] : false ; } return $ this -> _detect ; }
docstring: Retrieves the full results of the current client detection, or a specific parameter.  Available parameters are
  hidpi, width, height, speed, modern, touch, and cookies.
  
  @param string|null $item The parameter you wish to detect
  
  @return string|array|bool          The detected parameter, or if $item was not given, the array of all parameters.
docstring_tokens: Retrieves the full results of the current client detection or a specific parameter . Available parameters are hidpi width height speed modern touch and cookies .