/** * {@inheritdoc} * * @throws RuntimeException If the current directory has not yet been set. */ public function ensureFilter(FilterInterface $filter) { if (!$this->innerCollection) { $this->loadCollection(); } return $this->innerCollection->ensureFilter($filter); }