* @author Jean-Sébastien Conan */ class TestPluginService extends AbstractPluginService { const SERVICE_ID = 'taoTests/TestPlugin'; /** * @deprecated */ const CONFIG_ID = self::SERVICE_ID; /** * TestPluginService constructor. * @param array $options */ public function __construct($options = []) { parent::__construct($options); $this->setRegistry(PluginRegistry::getRegistry()); } /** * Creates a plugin object from data array * @param $data * @return PluginModule */ protected function createFromArray($data) { return TestPlugin::fromArray($data); } }