public function withFilter (callable $fn)
  {
    $args         = array_slice (func_get_args (), 1);
    $this->filter = $fn;
    call_user_func_array ([$this, 'inspect'], $args);
    $this->filter = null;

    return $this;
  }
public function withFilter (callable $fn)
  {
    $args         = array_slice (func_get_args (), 1);
    $this->filter = $fn;
    call_user_func_array ([$this, 'inspect'], $args);
    $this->filter = null;

    return $this;
  }
public function withFilter ( callable $ fn ) { $ args = array_slice ( func_get_args ( ) , 1 ) ; $ this -> filter = $ fn ; call_user_func_array ( [ $ this , 'inspect' ] , $ args ) ; $ this -> filter = null ; return $ this ; }
Logs detailed information about the specified values or variables to the PHP console.

> The filter function may remove some keys from the tabular output of objects or arrays.
<p>**Warning:** always use the `===` operator to compare keys with something, because if the key is the integer
0, the operator `==` will return `true` when it shouldn't.

Extra params: list of one or more values to be displayed.

@param callable $fn Filter callback. Receives the key name, the value and the target object/array.<br>
Returns <kbd>true</kbd> if the value should be displayed, <kbd>false</kbd> if the whole
key + value should be hidden, or <kbd>'...'</kbd> if the key should appear, but the value
be omitted.
@return $this
Logs detailed information about the specified values or variables to the PHP console .