Last active
May 25, 2018 19:14
-
-
Save Majkl578/23d2c563a9c9b8809419141b1032053b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Annotations | |
| > > Annotation | |
| > > > Reference {"identifier":"Annot","fully_qualified":false} | |
| > > > Parameters | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"v1"} | |
| > > > > > Collection\ListCollection | |
| > > > > > > Scalar\IntegerScalar {"value":1} | |
| > > > > > > Scalar\IntegerScalar {"value":2} | |
| > > > > > > Scalar\IntegerScalar {"value":3} | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"v2"} | |
| > > > > > Collection\ListCollection | |
| > > > > > > Annotation | |
| > > > > > > > Reference {"identifier":"one","fully_qualified":false} | |
| > > > > > > > Parameters | |
| > > > > > > Annotation | |
| > > > > > > > Reference {"identifier":"two","fully_qualified":false} | |
| > > > > > > > Parameters | |
| > > > > > > Annotation | |
| > > > > > > > Reference {"identifier":"three","fully_qualified":false} | |
| > > > > > > > Parameters | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"v3"} | |
| > > > > > Collection\MapCollection | |
| > > > > > > Pair | |
| > > > > > > > Scalar\Identifier {"value":"one"} | |
| > > > > > > > Scalar\IntegerScalar {"value":1} | |
| > > > > > > Pair | |
| > > > > > > > Scalar\Identifier {"value":"two"} | |
| > > > > > > > Scalar\IntegerScalar {"value":2} | |
| > > > > > > Pair | |
| > > > > > > > Scalar\Identifier {"value":"three"} | |
| > > > > > > > Scalar\IntegerScalar {"value":3} | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"v4"} | |
| > > > > > Collection\MapCollection | |
| > > > > > > Pair | |
| > > > > > > > Scalar\Identifier {"value":"one"} | |
| > > > > > > > Annotation | |
| > > > > > > > > Reference {"identifier":"one","fully_qualified":false} | |
| > > > > > > > > Parameters | |
| > > > > > > > > > Parameter\UnnamedParameter | |
| > > > > > > > > > > Scalar\IntegerScalar {"value":1} | |
| > > > > > > Pair | |
| > > > > > > > Scalar\Identifier {"value":"two"} | |
| > > > > > > > Annotation | |
| > > > > > > > > Reference {"identifier":"two","fully_qualified":false} | |
| > > > > > > > > Parameters | |
| > > > > > > > > > Parameter\UnnamedParameter | |
| > > > > > > > > > > Scalar\IntegerScalar {"value":2} | |
| > > > > > > Pair | |
| > > > > > > > Scalar\Identifier {"value":"three"} | |
| > > > > > > > Annotation | |
| > > > > > > > > Reference {"identifier":"three","fully_qualified":false} | |
| > > > > > > > > Parameters | |
| > > > > > > > > > Parameter\UnnamedParameter | |
| > > > > > > > > > > Scalar\IntegerScalar {"value":3} | |
| > > Annotation | |
| > > > Reference {"identifier":"ORM\\ManyToMany","fully_qualified":false} | |
| > > > Parameters | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"targetEntity"} | |
| > > > > > ConstantFetch | |
| > > > > > > Reference {"identifier":"CmsGroup","fully_qualified":false} | |
| > > > > > > Scalar\Identifier {"value":"class"} | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"inversedBy"} | |
| > > > > > Scalar\StringScalar {"value":"users"} | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"cascade"} | |
| > > > > > Collection\ListCollection | |
| > > > > > > Scalar\StringScalar {"value":"persist"} | |
| > > Annotation | |
| > > > Reference {"identifier":"ORM\\JoinTable","fully_qualified":false} | |
| > > > Parameters | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"name"} | |
| > > > > > Scalar\StringScalar {"value":"cms_users_groups"} | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"joinColumns"} | |
| > > > > > Collection\ListCollection | |
| > > > > > > Annotation | |
| > > > > > > > Reference {"identifier":"ORM\\JoinColumn","fully_qualified":false} | |
| > > > > > > > Parameters | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"name"} | |
| > > > > > > > > > Scalar\StringScalar {"value":"user_id"} | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"referencedColumnName"} | |
| > > > > > > > > > Scalar\StringScalar {"value":"id"} | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"inverseJoinColumns"} | |
| > > > > > Collection\ListCollection | |
| > > > > > > Annotation | |
| > > > > > > > Reference {"identifier":"ORM\\JoinColumn","fully_qualified":false} | |
| > > > > > > > Parameters | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"name"} | |
| > > > > > > > > > Scalar\StringScalar {"value":"group_id"} | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"referencedColumnName"} | |
| > > > > > > > > > Scalar\StringScalar {"value":"id"} | |
| > > Annotation | |
| > > > Reference {"identifier":"Type","fully_qualified":false} | |
| > > > Parameters | |
| > > > > Parameter\UnnamedParameter | |
| > > > > > Scalar\StringScalar {"value":"array<string,string>"} | |
| > > Annotation | |
| > > > Reference {"identifier":"SerializedName","fully_qualified":false} | |
| > > > Parameters | |
| > > > > Parameter\UnnamedParameter | |
| > > > > > Scalar\StringScalar {"value":"addresses"} | |
| > > Annotation | |
| > > > Reference {"identifier":"XmlElement","fully_qualified":false} | |
| > > > Parameters | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"namespace"} | |
| > > > > > Scalar\StringScalar {"value":"http:\/\/example.com\/namespace2"} | |
| > > Annotation | |
| > > > Reference {"identifier":"XmlMap","fully_qualified":false} | |
| > > > Parameters | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"inline"} | |
| > > > > > Scalar\BooleanScalar {"value":false} | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"entry"} | |
| > > > > > Scalar\StringScalar {"value":"address"} | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"keyAttribute"} | |
| > > > > > Scalar\StringScalar {"value":"id"} | |
| > > > > Parameter\NamedParameter | |
| > > > > > Scalar\Identifier {"value":"namespace"} | |
| > > > > > Scalar\StringScalar {"value":"http:\/\/example.com\/namespace2"} | |
| > > Annotation | |
| > > > Reference {"identifier":"NamedNativeQueries","fully_qualified":false} | |
| > > > Parameters | |
| > > > > Parameter\UnnamedParameter | |
| > > > > > Collection\ListCollection | |
| > > > > > > Annotation | |
| > > > > > > > Reference {"identifier":"NamedNativeQuery","fully_qualified":false} | |
| > > > > > > > Parameters | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"name"} | |
| > > > > > > > > > Scalar\StringScalar {"value":"fetchAllWithResultClass"} | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"resultClass"} | |
| > > > > > > > > > Scalar\StringScalar {"value":"__CLASS__"} | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"query"} | |
| > > > > > > > > > Scalar\StringScalar {"value":"SELECT id, name, discr FROM company_persons ORDER BY name"} | |
| > > > > > > Annotation | |
| > > > > > > > Reference {"identifier":"NamedNativeQuery","fully_qualified":false} | |
| > > > > > > > Parameters | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"name"} | |
| > > > > > > > > > Scalar\StringScalar {"value":"fetchAllWithSqlResultSetMapping"} | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"resultSetMapping"} | |
| > > > > > > > > > Scalar\StringScalar {"value":"mappingFetchAll"} | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"query"} | |
| > > > > > > > > > Scalar\StringScalar {"value":"SELECT id, name, discr AS discriminator FROM company_persons ORDER BY name"} | |
| > > Annotation | |
| > > > Reference {"identifier":"SqlResultSetMappings","fully_qualified":false} | |
| > > > Parameters | |
| > > > > Parameter\UnnamedParameter | |
| > > > > > Collection\ListCollection | |
| > > > > > > Annotation | |
| > > > > > > > Reference {"identifier":"SqlResultSetMapping","fully_qualified":false} | |
| > > > > > > > Parameters | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"name"} | |
| > > > > > > > > > Scalar\StringScalar {"value":"mappingFetchAll"} | |
| > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > Scalar\Identifier {"value":"entities"} | |
| > > > > > > > > > Collection\ListCollection | |
| > > > > > > > > > > Annotation | |
| > > > > > > > > > > > Reference {"identifier":"EntityResult","fully_qualified":false} | |
| > > > > > > > > > > > Parameters | |
| > > > > > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > > > > > Scalar\Identifier {"value":"entityClass"} | |
| > > > > > > > > > > > > > Scalar\StringScalar {"value":"__CLASS__"} | |
| > > > > > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > > > > > Scalar\Identifier {"value":"discriminatorColumn"} | |
| > > > > > > > > > > > > > Scalar\StringScalar {"value":"discriminator"} | |
| > > > > > > > > > > > > Parameter\NamedParameter | |
| > > > > > > > > > > > > > Scalar\Identifier {"value":"fields"} | |
| > > > > > > > > > > > > > Collection\ListCollection | |
| > > > > > > > > > > > > > > Annotation | |
| > > > > > > > > > > > > > > > Reference {"identifier":"FieldResult","fully_qualified":false} | |
| > > > > > > > > > > > > > > > Parameters | |
| > > > > > > > > > > > > > > > > Parameter\UnnamedParameter | |
| > > > > > > > > > > > > > > > > > Scalar\StringScalar {"value":"id"} | |
| > > > > > > > > > > > > > > Annotation | |
| > > > > > > > > > > > > > > > Reference {"identifier":"FieldResult","fully_qualified":false} | |
| > > > > > > > > > > > > > > > Parameters | |
| > > > > > > > > > > > > > > > > Parameter\UnnamedParameter | |
| > > > > > > > > > > > > > > > > > Scalar\StringScalar {"value":"name"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @Annot( | |
| * v1={1,2,3}, | |
| * v2={@one,@two,@three}, | |
| * v3={one=1,two=2,three=3}, | |
| * v4={one=@one(1),two=@two(2),three=@three(3)} | |
| * ) | |
| * @ORM\ManyToMany(targetEntity=CmsGroup::class, inversedBy="users", cascade={"persist"}) | |
| * @ORM\JoinTable(name="cms_users_groups", | |
| * joinColumns={@ORM\JoinColumn(name="user_id", referencedColumnName="id")}, | |
| * inverseJoinColumns={@ORM\JoinColumn(name="group_id", referencedColumnName="id")} | |
| * ) | |
| * @Type("array<string,string>") | |
| * @SerializedName("addresses") | |
| * @XmlElement(namespace="http://example.com/namespace2") | |
| * @XmlMap(inline = false, entry = "address", keyAttribute = "id", namespace="http://example.com/namespace2") | |
| * | |
| * @NamedNativeQueries({ | |
| * @NamedNativeQuery( | |
| * name = "fetchAllWithResultClass", | |
| * resultClass = "__CLASS__", | |
| * query = "SELECT id, name, discr FROM company_persons ORDER BY name" | |
| * ), | |
| * @NamedNativeQuery( | |
| * name = "fetchAllWithSqlResultSetMapping", | |
| * resultSetMapping= "mappingFetchAll", | |
| * query = "SELECT id, name, discr AS discriminator FROM company_persons ORDER BY name" | |
| * ) | |
| * }) | |
| * | |
| * @SqlResultSetMappings({ | |
| * @SqlResultSetMapping( | |
| * name = "mappingFetchAll", | |
| * entities= { | |
| * @EntityResult( | |
| * entityClass = "__CLASS__", | |
| * discriminatorColumn = "discriminator", | |
| * fields = { | |
| * @FieldResult("id"), | |
| * @FieldResult("name"), | |
| * } | |
| * ) | |
| * } | |
| * ) | |
| * }) | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment