public function getMappedStatement($name) { if ($this->_mappedStatements->contains($name) == false) { throw new TSqlMapUndefinedException('sqlmap_contains_no_statement', $name); } return $this->_mappedStatements[$name]; }