public function getTable() { if (empty($this->_table)) { $className = StringMethods::classNameWithoutNamespace(get_class($this)); $this->_table = strtolower(StringMethods::singular($className)); } return $this->_table; }