Message from discussion
Doctrine ORM Console Help Page
Date: Wed, 5 Sep 2012 13:07:38 -0700 (PDT)
From: Manoel Campos da Silva Filho <manoelcam...@gmail.com>
To: doctrine-dev@googlegroups.com
Message-Id: <ff2811af-79ca-4536-b826-6e5f0ce4523d@googlegroups.com>
In-Reply-To: <CADyq6s+Z9Zw00=jV9Er179U5U+OgNS82A8U2K_2iFD0jG5Tebg@mail.gmail.com>
References: <8141ea89-60c1-4562-a68f-54e41dcd54fa@googlegroups.com>
<CADyq6s+Z9Zw00=jV9Er179U5U+OgNS82A8U2K_2iFD0jG5Tebg@mail.gmail.com>
Subject: Re: [doctrine-dev] Doctrine ORM Console Help Page
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_640_10422287.1346875658719"
------=_Part_640_10422287.1346875658719
Content-Type: multipart/alternative;
boundary="----=_Part_641_13258144.1346875658719"
------=_Part_641_13258144.1346875658719
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Thanks, the problem has already been reported.
I found other error in page
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/configuration.html
but I don't know how to report.
At sectioin 2.10, is missing the line:
use Symfony\Component\Console\Application;\
At line $cli->setHelperSet($helperSet);
the object $helperSet is not defined.
I commented the line and works, but at the
page http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/tools.html
is shown a different example. So, with this following code snippet before
the line $cli->setHelperSet($helperSet);
the code works
use Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper;
use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
use Symfony\Component\Console\Helper\HelperSet;
$helperSet = new HelperSet(array(
'db' => new ConnectionHelper($em->getConnection()),
'em' => new EntityManagerHelper($em)
));
How can I report a documentation problem at git hub?
I know that I can fork the documentation repository at github,
change the documentation, commit changes and open a pull request.
But as I'm newbie in Doctrine, I'm not sure if I'm correct.
So, I prefer to post a question to other users evaluate.
Thank you.
Em quarta-feira, 5 de setembro de 2012 16h32min05s UTC-3, Marco Pivetta
escreveu:
>
> Heya!
> Should be fine with https://github.com/doctrine/orm-documentation/pull/125
>
> Marco Pivetta
>
> http://twitter.com/Ocramius
>
> http://marco-pivetta.com
>
>
>
> On 5 September 2012 21:19, Manoel Campos da Silva Filho <
> manoel...@gmail.com <javascript:>> wrote:
>
>> Helo, in page
>> http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/tools.html
>> at section 25.1.3 there is the line "use
>> Doctrine\DBAL\Tools\Console\Helper\EntityManagerHelper;"
>> but when I tried to run the sample code, I got a "No such file or
>> directory" error.
>> I did search for the file EntityManagerHelper.php and found it at
>> Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper
>> and cli works
>>
>> Is this the correct path?
>> If yes, the help page is outdated.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "doctrine-dev" group.
>> To view this discussion on the web, visit
>> https://groups.google.com/d/msg/doctrine-dev/-/2hq2ssSQR6kJ.
>> To post to this group, send an email to doctri...@googlegroups.com<javascript:>
>> .
>> To unsubscribe from this group, send email to
>> doctrine-dev...@googlegroups.com <javascript:>.
>> For more options, visit this group at
>> http://groups.google.com/group/doctrine-dev?hl=en-GB.
>>
>
>
------=_Part_641_13258144.1346875658719
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<div>Thanks, the problem has already been reported.</div><div><br></div>I f=
ound other error in page <a href=3D"http://docs.doctrine-project.org/p=
rojects/doctrine-orm/en/latest/reference/configuration.html">http://docs.do=
ctrine-project.org/projects/doctrine-orm/en/latest/reference/configuration.=
html</a><div>but I don't know how to report.</div><div><br></div><div>At se=
ctioin 2.10, is missing the line:</div><div>use Symfony\Component\Cons=
ole\Application;\</div><div><br></div><div>At line $cli->setHelperS=
et($helperSet);</div><div>the object $helperSet is not defined.</div><=
div>I commented the line and works, but at the page http://docs.doctri=
ne-project.org/projects/doctrine-orm/en/latest/reference/tools.html</div><d=
iv>is shown a different example. So, with this following code snippet befor=
e the line $cli->setHelperSet($helperSet);</div><div>the code works=
</div><div><br></div><div><div>use Doctrine\DBAL\Tools\Console\Helper\Conne=
ctionHelper;</div><div>use Doctrine\ORM\Tools\Console\Helper\EntityManagerH=
elper;</div><div>use Symfony\Component\Console\Helper\HelperSet;</div><div>=
<br></div><div>$helperSet =3D new HelperSet(array(</div><div> =
'db' =3D> new ConnectionHelper($em->getConnection()),</div><div> =
; 'em' =3D> new EntityManagerHelper($em)</div><div>));</div></div=
><div><br></div><div>How can I report a documentation problem at git hub?</=
div><div>I know that I can fork the documentation repository at github,</di=
v><div>change the documentation, commit changes and open a pull request.</d=
iv><div>But as I'm newbie in Doctrine, I'm not sure if I'm correct.</div><d=
iv>So, I prefer to post a question to other users evaluate.</div><div><br><=
/div><div>Thank you.</div><div><br></div><div><br>Em quarta-feira, 5 de set=
embro de 2012 16h32min05s UTC-3, Marco Pivetta escreveu:<blockquote class=
=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #cc=
c solid;padding-left: 1ex;">Heya!<br>Should be fine with <a href=3D"https:/=
/github.com/doctrine/orm-documentation/pull/125" target=3D"_blank">https://=
github.com/doctrine/<wbr>orm-documentation/pull/125</a><br><br clear=3D"all=
">Marco Pivetta <br><br><a href=3D"http://twitter.com/Ocramius" target=3D"_=
blank">http://twitter.com/Ocramius</a> <wbr> <=
br>
<br><a href=3D"http://marco-pivetta.com" target=3D"_blank">http://marco-piv=
etta.com</a> <br><br>
<br><br><div class=3D"gmail_quote">On 5 September 2012 21:19, Manoel Campos=
da Silva Filho <span dir=3D"ltr"><<a href=3D"javascript:" target=3D"_bl=
ank" gdf-obfuscated-mailto=3D"H5YiZK599REJ">manoel...@gmail.com</a>></sp=
an> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
Helo, in page <a href=3D"http://docs.doctrine-project.org/projects/doc=
trine-orm/en/latest/reference/tools.html" target=3D"_blank">http://docs.doc=
trine-<wbr>project.org/projects/doctrine-<wbr>orm/en/latest/reference/tools=
.<wbr>html</a><div>
at section 25.1.3 there is the line "use Doctrine\DBAL\Tools\Console\<=
wbr>Helper\EntityManagerHelper;"</div>
<div>but when I tried to run the sample code, I got a "No such file or dire=
ctory" error.</div><div>I did search for the file EntityManagerHelper.=
php and found it at </div><div>Doctrine\ORM\Tools\Console\<wbr>Helper\=
EntityManagerHelper<br>
</div><div>and cli works</div><div><br></div><div>Is this the correct path?=
</div><div>If yes, the help page is outdated.</div><span><font color=
=3D"#888888">
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups "=
doctrine-dev" group.<br>
To view this discussion on the web, visit <a href=3D"https://groups.google.=
com/d/msg/doctrine-dev/-/2hq2ssSQR6kJ" target=3D"_blank">https://groups.goo=
gle.com/d/<wbr>msg/doctrine-dev/-/<wbr>2hq2ssSQR6kJ</a>.<br>=20
To post to this group, send an email to <a href=3D"javascript:" target=3D"_=
blank" gdf-obfuscated-mailto=3D"H5YiZK599REJ">doctri...@googlegroups.com</a=
>.<br>
To unsubscribe from this group, send email to <a href=3D"javascript:" targe=
t=3D"_blank" gdf-obfuscated-mailto=3D"H5YiZK599REJ">doctrine-dev...@<wbr>go=
oglegroups.com</a>.<br>
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/doctrine-dev?hl=3Den-GB" target=3D"_blank">http://groups.google.com/<w=
br>group/doctrine-dev?hl=3Den-GB</a>.<br>
</font></span></blockquote></div><br>
</blockquote></div>
------=_Part_641_13258144.1346875658719--
------=_Part_640_10422287.1346875658719--