* @author Jean-Sébastien Conan */ class TestProviderService extends AbstractProviderService { const SERVICE_ID = 'taoTests/TestProvider'; /** * TestProviderService constructor. * @param array $options */ public function __construct($options = []) { parent::__construct($options); $this->setRegistry(ProviderRegistry::getRegistry()); } /** * Creates a provider object from data array * @param $data * @return ProviderModule * @throws \common_exception_InconsistentData */ protected function createFromArray($data) { return TestProvider::fromArray($data); } }