src/Controller/PlatformsController.php
private function hasAccess($key): bool
    {
        $hasAccess = $this->getServiceLocator()->get('MelisCoreRights')->canAccess($key);

        return $hasAccess;
    }
private function hasAccess($key): bool
    {
        $hasAccess = $this->getServiceLocator()->get('MelisCoreRights')->canAccess($key);

        return $hasAccess;
    }
private function hasAccess ( $ key ) : bool { $ hasAccess = $ this -> getServiceLocator ( ) -> get ( 'MelisCoreRights' ) -> canAccess ( $ key ) ; return $ hasAccess ; }
Checks whether the user has access to this tools or not
@param $key
@return bool
Checks whether the user has access to this tools or not