debug/handlers/Exception.php
protected function pushToList(array &$list, $name) : self
    {
        // Handle arrays (recursively).
        if (is_array($name)) {
            foreach ($name as $single) {
                $this->pushToList($list, $single);
            }
            return $this;
        }

        $list[] = $name;

        // Reset the applicable Delegates as we will need to recompile the list.
        $this->applicable = null;

        return $this;
    }
protected function pushToList(array &$list, $name) : self
    {
        // Handle arrays (recursively).
        if (is_array($name)) {
            foreach ($name as $single) {
                $this->pushToList($list, $single);
            }
            return $this;
        }

        $list[] = $name;

        // Reset the applicable Delegates as we will need to recompile the list.
        $this->applicable = null;

        return $this;
    }
protected function pushToList ( array & $ list , $ name ) : self { // Handle arrays (recursively). if ( is_array ( $ name ) ) { foreach ( $ name as $ single ) { $ this -> pushToList ( $ list , $ single ) ; } return $ this ; } $ list [ ] = $ name ; // Reset the applicable Delegates as we will need to recompile the list. $ this -> applicable = null ; return $ this ; }
Pushes the given values to either the black-or-white-list.

@param   array           &$list      Either $this->blacklist or $this->whitelist.
@param   string|array    $name       {@see self::blacklist()} or {@see self::whitelist()}
@return  $this
Pushes the given values to either the black - or - white - list .