Please, no top posting!!!

On Wed, 9 Jan 2013, Vladislav Veselinov wrote:

> Taken from the Doctrine documentation:
> 
> <?php
> class User
> {
>     //...
>     /**
>      * @ManyToMany(targetEntity="Group")
>      * @JoinTable(name="User_Group",
>      *      joinColumns={@JoinColumn(name="User_id", 
> referencedColumnName="id")},
>      *      inverseJoinColumns={@JoinColumn(name="Group_id", 
> referencedColumnName="id")}
>      * )
>      */
>     private $groups;
>     //...
> }
> 
> Not that I'm a fan of it, but it provides a valid usecase. I'm sure
> there are more.

Maybe valid, but sticking this into core-syntax seems mental.

cheers,
Derick
-- 
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
Posted with an email client that doesn't mangle email: alpine

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to