protected function tableName() { $tokens = explode('\\', get_class($this)); return strtolower(array_pop($tokens)); }