attachements is used from class "AttachementsContainingDBELement" if ($this->attachments === null) { $this->attachments = new ArrayCollection(); } return $this->attachments; } /** * Returns the ID as an string, defined by the element class. * This should have a form like P000014, for a part with ID 14. * @return string The ID as a string; */ public function getIDString(): string { return ''; //return 'AT' . sprintf('%09d', $this->getID()); } }