<?php
namespace Concrete\Core\File\ImportProcessor;

use Concrete\Core\Entity\File\Version;

interface ProcessorInterface
{
    public function shouldProcess(Version $version);
    public function process(Version $version);
}

<?php

namespace Concrete\Core\File\ImportProcessor;

use Concrete\Core\Entity\File\Version;

/**
 * The interface that file processors should implement.
 */
interface ProcessorInterface
{
    /**
     * Should this processor process a specific file version?
     *
     * @param \Concrete\Core\Entity\File\Version $version
     *
     * @return bool
     */
    public function shouldProcess(Version $version);

    /**
     * Process a specific file version.
     *
     * @param \Concrete\Core\Entity\File\Version $version
     *
     * @throws \Exception in case of errors
     */
    public function process(Version $version);
}

Add PHPDoc to file import processor interface
Add PHPDoc to file import processor interface
