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

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

        return $archive;
    }
protected function createArchiveConfiguration ( stdClass $ archive = null ) { if ( null !== $ archive ) { $ archiveData = new ObjectAccess ( $ archive ) ; $ archive = new ArchiveConfiguration ( $ archiveData -> getDefault ( 'exclude' ) , $ archiveData -> data ( ) ) ; } return $ archive ; }
Create an archive configuration object from the supplied raw value.

@param stdClass|null $archive The raw archive configuration data.

@return ArchiveConfiguration|null The newly created archive configuration object.
Create an archive configuration object from the supplied raw value .