protected function get_privacy_manager() : manager {
        if (null === $this->manager) {
            $this->manager = new manager();
            $this->manager->set_observer(new \tool_dataprivacy\manager_observer());
        }

        return $this->manager;
    }
protected function get_privacy_manager() : manager {
        if (null === $this->manager) {
            $this->manager = new manager();
            $this->manager->set_observer(new \tool_dataprivacy\manager_observer());
        }

        return $this->manager;
    }
protected function get_privacy_manager ( ) : manager { if ( null === $ this -> manager ) { $ this -> manager = new manager ( ) ; $ this -> manager -> set_observer ( new \ tool_dataprivacy \ manager_observer ( ) ) ; } return $ this -> manager ; }
Create a new instance of the privacy manager.

@return  manager
Create a new instance of the privacy manager .