<slide>
<title>Attribute Syntax</title>

<div effect="fade-out">
<example inline="2" class="big"><![CDATA[
&lt;?php
use Doctrine\ORM\Attributes as ORM;

*&lt;&lt;ORM\Entity>>*
class Distillery
{
    *&lt;&lt;ORM\Id>>*
    *&lt;&lt;ORM\Column("string")>>*
    private $name;
}]]>
</example>
</div>

<div effect="fade-in-out">
<example inline="2" class="big"><![CDATA[
&lt;?php
use Doctrine\ORM\Attributes as ORM;

*@@ORM\Entity*
class Distillery
{
    *@@ORM\Id*
    *@@ORM\Column("string")*
    private $name;
}]]>
</example>
</div>

<div effect="fade-in-out">
<example inline="2" class="big"><![CDATA[
&lt;?php
use Doctrine\ORM\Attributes as ORM;

*#[ORM\Entity]*
class Distillery
{
    *#[ORM\Id]*
    *#[ORM\Column("string")]*
    private $name;
}]]>
</example>
</div>

<div effect="fade-in">
<example inline="2" class="big"><![CDATA[
&lt;?php
use Doctrine\ORM\Attributes as ORM;

*@[ORM\Entity]*
class Distillery
{
    *@[ORM\Id]*
    *@[ORM\Column("string")]*
    private $name;
}]]>
</example>
</div>

</slide>
