<a class="togglebutton" title="Toggle Me">Toggle Me</a>a.togglebutton {
background: #ccc;
cursor: pointer;
border-top: solid 2px #eaeaea;
border-left: solid 2px #eaeaea;<a class="togglebutton" title="Toggle Me">Toggle Me</a>a.togglebutton {
background: #ccc;
cursor: pointer;
border-top: solid 2px #eaeaea;
border-left: solid 2px #eaeaea;To ignore command:
git update-index --assume-unchanged [path/filename.ext]
To un-ignore command:
git update-index --no-assume-unchanged [path/filename.ext]
echo '<pre>';
\Doctrine\Common\Util\Debug::dump($nameofvariable);
echo '</pre>';
exit;From terminal to run these commands. As there are 3 commands to run in order to get Symfony2 to recognize the database as entities.
Step 1: Import database into Bundle and create yaml files. [ --em=dev ] Used to recognize the database to import. In order to do this the database configuration files need to be set up with parameters.yml and config.yml
./app/console doctrine:mapping:import --em=dbname BundleName yml
twig:
debug: %kernel.debug%
services:
twig.extension.text:
class: Twig_Extensions_Extension_Text
tags:
- { name: twig.extension }
twig.extension.debug:
class: Twig_Extensions_Extension_Debug