public function getGroup(array $attributes = array()) { $subtype = isset($attributes['subtype']) ? $attributes['subtype'] : 'foo_group'; return $this->entityTable->setup(null, 'group', $subtype, $attributes); }