public function setFileProperties($props) { if ($this->data === null) { $this->data = []; } $this->data['file'] = $props; }