Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/plugin/migrationmoodle/src/Traits/MapTrait.php

22 lines
401 B

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\PluginBundle\MigrationMoodle\Traits\MapTrait;
trait MapTrait
{
/**
* @var string
*/
protected $calledClass;
/**
* @return string
*/
protected function getTaskName()
{
$name = substr(strrchr($this->calledClass, '\\'), 1);
return api_camel_case_to_underscore($name);
}
}