<?php/** * @copyright Vertex. All rights reserved. https://www.vertexinc.com/ * @author Mediotype https://www.mediotype.com/ */namespaceVertex\Tax\Model\Config\Source;useMagento\Framework\Data\OptionSourceInterface;/** * Represents a type of log rotation in use */classRotationActionimplementsOptionSourceInterface{constTYPE_DELETE='delete';constTYPE_EXPORT='export';/** * @inheritdoc */publicfunctiontoOptionArray(){return[['label'=>__('Export to file and delete'),'value'=>static::TYPE_EXPORT],['label'=>__('Delete'),'value'=>static::TYPE_DELETE]];}}