Leafo\ScssPhp\Compiler::filterWithout PHP Method

filterWithout() private method

Filter env stack
private filterWithout ( array $envs, integer $without ) : Leafo\ScssPhp\Compiler\Environment
$envs array
$without integer
return Leafo\ScssPhp\Compiler\Environment
    private function filterWithout($envs, $without)
    {
        $filtered = [];
        foreach ($envs as $e) {
            if ($e->block && $this->isWithout($without, $e->block)) {
                continue;
            }
            $filtered[] = $e;
        }
        return $this->extractEnv($filtered);
    }
Compiler