private function createFileLocator($modelDir, $mixinDir, $embedDir)
    {
        $definition = new Definition(
            Utility::getLibraryClass('Metadata\Driver\FileLocator'),
            [$modelDir, $mixinDir, $embedDir]
        );
        $definition->setPublic(false);
        return $definition;
    }