<p dir="auto">Which is a big deal if you want to check access on many paths when generating a menu.<br>
Typically you would Request::create('link path here') and then pass this request down to your access checkers before displaying it.</p>
<p dir="auto">The drupal issue this comes from <a href="https://drupal.org/node/2078855" rel="nofollow">https://drupal.org/node/2078855</a></p>
<p dir="auto">Running the test on <a href="https://drupal.org/node/2078855#comment-7837631" rel="nofollow">https://drupal.org/node/2078855#comment-7837631</a> on PHP5.5 is faster (0.885 instead of 1.239) but still the introduced method there is 3 times faster.</p>
<p dir="auto">Come up with a solution here, because i am pretty sure this will be a common problem to many sites not just Drupal.</p>
<p dir="auto">Hi,</p>
<p dir="auto">I am using Symfony2.0.0,</p>
<p dir="auto">I am working through the demo in The Book, and trying to generate the Hello Bundle.</p>
<p dir="auto">When I try to generate the bundle by using the following command in my Terminal:</p>
<p dir="auto">"php app/console generate:bundle --namespace=Acme/HelloBundle --format=yml"</p>
<p dir="auto">but instead of giving me on-screen instructions, I get the following error:</p>
<p dir="auto">"Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /Symfony/app/console on line 7"</p>
<p dir="auto">I have literally installed Symfony2, configured my database through the on-screen instructions, and set up permissions as directed in The Book</p>
<p dir="auto">This is the first thing I have attempted since that point</p>
<p dir="auto">Do I have to manually set up a database table? Or should that auto-generate as part of the bundle? I wondered if that is why the parse error occurred</p>
<p dir="auto">Thanks in advance<br>
Barry</p>