public function locate()
    {
        foreach ($this->paths as $path) {
            $resolvedPath = stream_resolve_include_path($path);
            if (! $resolvedPath) {
                continue;
                
            }
            $configuration = require $resolvedPath;
            if (! $configuration instanceof Configuration) {
                throw new ConfigurationException(
                    "$resolvedPath must return a malkusch\\bav\\Configuration object."
                );

            }
            return $configuration;
            
        }
        return null;
    }