public function checkin($document)
    {
        $path = $this->getVersionedNodePath($document);
        $vm = $this->session->getWorkspace()->getVersionManager();
        $vm->checkin($path); // Checkin Node aka make a new Version
    }
public function checkin($document)
    {
        $path = $this->getVersionedNodePath($document);
        $vm = $this->session->getWorkspace()->getVersionManager();
        $vm->checkin($path); // Checkin Node aka make a new Version
    }
public function checkin ( $ document ) { $ path = $ this -> getVersionedNodePath ( $ document ) ; $ vm = $ this -> session -> getWorkspace ( ) -> getVersionManager ( ) ; $ vm -> checkin ( $ path ) ; // Checkin Node aka make a new Version }
Checkin operation - Save all current changes and then check in the Node by id.
Checkin operation - Save all current changes and then check in the Node by id .