protected function createArchiveConfiguration(stdClass $archive = null)
    {
        if (null !== $archive) {
            $archiveData = new ObjectAccess($archive);
            $archive = new ArchiveConfiguration(
                $archiveData->getDefault('exclude'),
                $archiveData->data()
            );
        }

        return $archive;
    }