public function __construct(ContentType $contentType, array $fieldDefinitions) { $this->contentType = $contentType; $this->fieldDefinitions = $fieldDefinitions; }