public function createTransition( $type, $old_id, $new_id ) {
		$transition = new  \Pressbooks\Entities\Cloner\Transition();
		$transition->type = $type;
		$transition->oldId = $old_id;
		$transition->newId = $new_id;
		$this->transitions[] = $transition;
	}
public function createTransition( $type, $old_id, $new_id ) {
		$transition = new  \Pressbooks\Entities\Cloner\Transition();
		$transition->type = $type;
		$transition->oldId = $old_id;
		$transition->newId = $new_id;
		$this->transitions[] = $transition;
	}
public function createTransition ( $ type , $ old_id , $ new_id ) { $ transition = new \ Pressbooks \ Entities \ Cloner \ Transition ( ) ; $ transition -> type = $ type ; $ transition -> oldId = $ old_id ; $ transition -> newId = $ new_id ; $ this -> transitions [ ] = $ transition ; }
When cloning from one book to another, the IDs change
Use this method to add a transition, that we can do something with later, if needed

@param string $type
@param int $old_id
@param int $new_id
When cloning from one book to another the IDs change Use this method to add a transition that we can do something with later if needed