/**
  * Exclude object from result
  *
  * @param   ChildSession $session Object to remove from the list of results
  *
  * @return $this|ChildSessionQuery The current query, for fluid interface
  */
 public function prune($session = null)
 {
     if ($session) {
         $this->addUsingAlias(SessionTableMap::COL_ID, $session->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
Exemple #2
0
 /**
  * @return Session;
  */
 public function getSession()
 {
     return Session::getInstance();
 }