Php – TYPO3 dependency injection only inject*() method, not constructor
I'm upgrading from TYPO3 v10 to v11. In TYPO3 v10 this worked: <?php use TYPO3CMSFormDomainModelFormElementsGenericFormElement; class ServiceSelectFormElement extends GenericFormElement { public function __construct(string $identifier, string $type, ApiService $apiClient) { $this->apiClient = $apiClient; parent::__construct($identifier, $type); } } In TYPO3 v11 it…