perfect! thanks.

On 24 January 2011 13:59, Benjamin Eberlei <[email protected]> wrote:
> This is where factory-service and factory-method play in. See:
>
> https://github.com/beberlei/Whitewashing/blob/master/BlogBundle/Resources/config/services.xml#L18
>
> On Mon, 24 Jan 2011 13:48:27 +0000, Dan Leech <[email protected]>
> wrote:
>> Hi All
>>
>> Having entity repositories in the DIC seems like a pretty good idea to
>> me ATM, but I cant see how it is possible
>>
>> The constructor for the doctrine EntityRepository is as follows:
>>
>>   public function __construct($em, Mapping\ClassMetadata $class)
>>
>> So I cant see a way to get the 2nd argument into the DIC definition,
>> is this possible / should it be possible / or is it just a bad idea?
>>
>> Cheers
>>
>> dan
>> --
>> Dan Leech
>>
>> Web Developer
>> www.dantleech.com
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>



-- 
Dan Leech

Web Developer
www.dantleech.com

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to