MessagePack\Tests\Perf\Filter\ListFilter::__construct PHP Method

__construct() public method

public __construct ( array $list )
$list array
    public function __construct(array $list)
    {
        foreach ($list as $name) {
            $name = trim($name);
            if ('-' !== $name[0]) {
                $this->whitelist[] = $name;
                continue;
            }
            $this->blacklist[] = substr($name, 1);
        }
    }