private filterWithout ( array $envs, integer $without ) : Leafo\ScssPhp\Compiler\Environment | ||
$envs | array | |
$without | integer | |
리턴 | 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);
}