public function setExcludes(array $excludes): self
    {
        $this->excludes = \array_map(function ($value) {
            return \trim($value, '/');
        }, $excludes);

        return $this;
    }