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); }