public function loadFixtureData(string $fixturePath): array
    {
        $fixturePath = $this->fixturesRootPath . '/' . $fixturePath;
        $fixtureFormat = $this->detectFormat($fixturePath);

        $fixtureData = null;

        switch ($fixtureFormat) {
            case DbItf::FIXTURE_FORMAT_JSON:
                $fixtureData = $this->decode($this->loadJson($fixturePath));
                break;

            case DbItf::FIXTURE_FORMAT_TXT:
                $fixtureData = $this->loadTxt($fixturePath);
                break;

            case DbItf::FIXTURE_FORMAT_PHP:
                /** @noinspection PhpIncludeInspection */
                $fixtureData = require $fixturePath;
                break;

            case DbItf::FIXTURE_FORMAT_SQL:
                $fixtureData = $this->loadSql($fixturePath);
                break;
        }

        return [$fixtureFormat, $fixtureData];
    }