/**
  * {@inheritdoc}
  */
 public function guessConstraints(AttributeInterface $attribute)
 {
     $notDecimalGuesser = new NotDecimalGuesser();
     $rangeGuesser = new RangeGuesser();
     $numericGuesser = new NumericGuesser();
     return array(new All(array('constraints' => array_merge(array(new Type(array('type' => 'Pim\\Bundle\\CatalogBundle\\Model\\ProductPriceInterface'))), $numericGuesser->guessConstraints($attribute), $notDecimalGuesser->guessConstraints($attribute), $rangeGuesser->guessConstraints($attribute)))));
 }
 /**
  * {@inheritdoc}
  */
 public function guessConstraints(AttributeInterface $attribute)
 {
     $notDecimalGuesser = new NotDecimalGuesser();
     $rangeGuesser = new RangeGuesser();
     $numericGuesser = new NumericGuesser();
     $currencyGuesser = new CurrencyGuesser();
     return [new All(['constraints' => array_merge([new Type(['type' => 'Pim\\Bundle\\CatalogBundle\\Model\\ProductPriceInterface'])], $numericGuesser->guessConstraints($attribute), $notDecimalGuesser->guessConstraints($attribute), $rangeGuesser->guessConstraints($attribute), $currencyGuesser->guessConstraints($attribute))])];
 }