protected function get_code_manager() {

        if ($this->codemanager === null) {
            $this->codemanager = new \core\update\code_manager();
        }

        return $this->codemanager;
    }
protected function get_code_manager() {

        if ($this->codemanager === null) {
            $this->codemanager = new \core\update\code_manager();
        }

        return $this->codemanager;
    }
protected function get_code_manager ( ) { if ( $ this -> codemanager === null ) { $ this -> codemanager = new \ core \ update \ code_manager ( ) ; } return $ this -> codemanager ; }
Returns a code_manager instance to be used for the plugins code operations.

@return \core\update\code_manager
Returns a code_manager instance to be used for the plugins code operations .