src/Controller/MelisCoreGdprController.php
private function getTool($pluginKey, $toolKey)
    {
        $tool = $this->getServiceLocator()->get('MelisCoreTool');
        $tool->setMelisToolKey($pluginKey, $toolKey);

        return $tool;
    }
private function getTool($pluginKey, $toolKey)
    {
        $tool = $this->getServiceLocator()->get('MelisCoreTool');
        $tool->setMelisToolKey($pluginKey, $toolKey);

        return $tool;
    }
private function getTool ( $ pluginKey , $ toolKey ) { $ tool = $ this -> getServiceLocator ( ) -> get ( 'MelisCoreTool' ) ; $ tool -> setMelisToolKey ( $ pluginKey , $ toolKey ) ; return $ tool ; }
Gets the tool
@param plugin key
@param tool key
@return array|object
Gets the tool