data; parent::__construct( $label, 'POST', $entityName, [], $parameters, $options ); } /** * @return string */ public function getEntityName(): string { return $this->entityName; } /** * @return array */ public function getData(): array { return $this->data; } /** * Return an array of messages describing the change that this operation will bring * * @return array */ public function getChangeLog(): array { $messages = [ '[POST ' . $this->entityName . ']' ]; array_push( $messages, ...self::getRecursiveChangeLog([], $this->data) ); return $messages; } }