prefix !== '') { return $this->prefix . '.' . $this->read; } return $this->read; } public function getEditOperationName() : string { if($this->prefix !== '') { return $this->prefix . '.' . $this->edit; } return $this->edit; } public function getPlaceholder() { if($this->placeholder === null) { switch($this->type) { case 'integer': return 0; case 'string': return '???'; case 'object': return null; case 'boolean': return false; case 'datetime': $date = new \DateTime(); return $date->setTimestamp(0); } } return $this->placeholder; } }