public function __construct(array $fieldTypes = array()) { foreach ($fieldTypes as $fieldType) { $this->addFieldType($fieldType); } }