chamilo/chamilo-lms

View on GitHub
public/plugin/migrationmoodle/src/Interfaces/ExtractorInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/* For licensing terms, see /license.txt */

namespace Chamilo\PluginBundle\MigrationMoodle\Interfaces;

/**
 * Interface ExtractorInterface.
 */
interface ExtractorInterface
{
    /**
     * @return bool
     */
    public function filter(array $sourceData);

    /**
     * @throws Exception
     *
     * @return iterable
     */
    public function extract();
}