public function readConfigDir(string $path): Configurator
    {
        if (!is_dir($path)) {
            throw new \InvalidArgumentException(
                sprintf("Config dir isn't a directory! %s given.", $path));
        }

        $entitiesDir = new \DirectoryIterator($path);
        foreach ($entitiesDir as $fileInfo) {
            if (!$fileInfo->isFile() || ('php' !== $fileInfo->getExtension())) {
                continue;
            }
            require_once($fileInfo->getPathname());
        }

        return $this;
    }