protected function _entity(array $data = null, array $options = []) { if ($this->_entity && empty($data)) { return $this->_entity; } return $this->_table()->newEntity($data, $options); }