title: Only annotation mapping is supported by Maker Bundle
body: <p>I have changed the configuration of my Symfony project to use PHP attributes with Doctrine in my Entities. I was really happy about this and wanted to give it a try.</p>
  <p>I have changed my <code>doctrine.yaml</code> from <code>annotation</code> to <code>attribute</code></p>
  <pre class="lang-yaml prettyprint-override"><code> orm:
      auto_generate_proxy_classes: true
      naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
      auto_mapping: true
      mappings:
          App:
              is_bundle: false
              type: attribute
              dir: '%kernel.project_dir%/src/Entity'
              prefix: 'App\Entity'
              alias: App
  </code></pre>
  <p>and use attributes in my entities</p>
  <pre class="lang-php prettyprint-override"><code>#[ORM\Entity(UserRepository::class)]
  class User implements UserInterface
  {
      #[ORM\Id()]
      #[ORM\GeneratedValue()]
      #[ORM\Column(type: &quot;integer&quot;)]
      private ?int $id;
  
      #[ORM\Column(type: &quot;string&quot;, length: 180, unique: true)]
      private ?string $email;
  
      #[ORM\Column(type: &quot;json&quot;)]
      private array $roles = [];
  }
  </code></pre>
  <p>With this configuration my <code>php bin/console do:sc:up -f</code> works well.</p>
  <p>But when I try to generate a new entity with <code>php bin/console make:entity</code> I get this error:</p>
  <blockquote>
  <p>[ERROR] Only annotation mapping is supported by make:entity, but the
  App\Entity\Toto class uses a different
  format. If you would like this command to generate the properties &amp; getter/setter methods, add your mapping<br />
  configuration, and then re-run this command with the --regenerate flag.</p>
  </blockquote>
  <p>It seems like it's not possible yet to use maker to generate entity with attribute.
  Does anyone have found a way to fix this issue or do we just have to wait a new release?</p>
  <p>For now I'm using:</p>
  <pre><code>&quot;doctrine/annotations&quot;: &quot;1.13.1&quot;
  &quot;doctrine/doctrine-bundle&quot;: &quot;2.4.2&quot;,
  &quot;doctrine/orm&quot;: &quot;2.9.3&quot;
  &quot;symfony/maker-bundle&quot;: &quot;1.31.1&quot;,
  </code></pre>