src/Entity/Customer/Customer.php line 15

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Entity\Customer;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Sylius\Component\Core\Model\Customer as BaseCustomer;
  6. use EWZ\Bundle\RecaptchaBundle\Validator\Constraints as Recaptcha;
  7. /**
  8.  * @ORM\Entity
  9.  * @ORM\Table(name="sylius_customer")
  10.  */
  11. class Customer extends BaseCustomer
  12. {
  13.     /**
  14.      * @Recaptcha\IsTrue
  15.      */
  16.     private $recaptcha;
  17.     public function getRecaptcha() {
  18.         return $this->recaptcha;
  19.     }
  20. }