Sometimes fluent setter, sometimes normal. fluent setter mostly not used:
example: src/Api/Builder/CapabilityBuilder.php:withTaskdata
$capability = new Capability();
$capability->setDirection($direction);
$capability->setTechnicalMessageType(CapabilityTypeDefinitions::ISO_11783_TASKDATA_ZIP);
could be for example:
$capability = (new Capability())
->setDirection($direction)
->setTechnicalMessageType(CapabilityTypeDefinitions::ISO_11783_TASKDATA_ZIP);
Sometimes fluent setter, sometimes normal. fluent setter mostly not used:
example: src/Api/Builder/CapabilityBuilder.php:withTaskdata
could be for example: