CodeExplorer setHasSerials example
if (isset($data['__esd_datum'
])) { $esd->
setCreatedAt(new DateTime($data['__esd_datum'
]));
} if (isset($data['__esd_file'
])) { $esd->
setFile($data['__esd_file'
]);
} if (isset($data['__esd_serials'
])) { $esd->
setHasSerials((bool) $data['__esd_serials'
]);
} if (isset($data['__esdAttribute_id'
])) { $this->attributeHydrator->
addAttribute($esd,
$data, 'esdAttribute'
);
} return $esd;
}}