__construct() публичный Метод

public __construct ( )
 /**
  * {@inheritdoc}
  *
  * @throws \UnexpectedValueException
  */
 public function __construct($code, $databaseType, $formType, array $formOptions = [])
 {
     if (!in_array($databaseType, ['stringIdentifier', 'integerIdentifier'], true)) {
         $m = "Identifier attribute {$code} can only be a stringIdentifier or an integerIdentifier, '{$databaseType}' given";
         throw new \UnexpectedValueException($m);
     }
     parent::__construct($code, $databaseType, $formType, $formOptions);
     $this->isRelation = false;
 }
 /**
  * AttributeType constructor.
  *
  * @param string $code
  * @param string $databaseType
  * @param string $formType
  * @param array  $formOptions
  */
 public function __construct($code, $databaseType, $formType, array $formOptions = [])
 {
     parent::__construct($code, $databaseType, $formType, $formOptions);
     $this->setEmbedded(true);
     $this->setRelation(false);
 }