End unFrom and unJoin

ex:
<?php include('surikat/control.php');control::dev();
use model\SQLComposer;
$s = SQLComposer::select('*');
$s->from('(SELECT test FROM virtual WHERE foo IN
(?,?,?,?))',array('bar1',1,2,3));
$s->from('(SELECT test FROM virtual WHERE foo IN
(?,?,?,?))',array('bar2',1,2,3));
$s->from('(SELECT test2 FROM virtual WHERE
foo=:foo)',array('foo'=>'bar'));
$s->from('(SELECT test2 FROM virtual WHERE
foo=:foo)',array('foo'=>'bar'));
//$s->unFrom('(SELECT test2 FROM virtual WHERE foo=:foo)');
//$s->unFrom('(SELECT test FROM virtual WHERE foo IN (?,?,?,?))');
$s->unFrom('(SELECT test FROM virtual WHERE foo IN
(?,?,?,?))',array('bar1',1,2,3));
echo '<pre>';
echo $s->getQuery()."\r\n";
print_r($s->getParams());
echo '</pre>';