protected function parse($path): array
    {
        $fixtures = array_key_exists('FIXTURES', $_ENV) ? $_ENV['FIXTURES'] : 'dev';
        $files = glob(str_replace('{fixtures}', $fixtures, $path));

        if (!$files) {
            throw new LogicException('Fixtures path "'.$path.'" yields no files.');
        }

        $objects = [];

        foreach ($files as $file) {
            foreach (Objects::parseFile($file) as $object) {
                $objects[] = $object;
            }
        }

        return $objects;
    }