reverse engeneering
php app/console doctrine:mapping:import --force SsoWebservicesObjectBundle -em=dummy annotation -e=sb

//setter and getter
php app/console doctrine:generate:entities SsoWebservicesObjectBundle -e=sb -em=dummy



php app/console generate:bundle
test
test
php app/console doctrine:schema:update --force --em=permissions


php app/console fos:user:create admin --super-admin


controller erzeugen
php app/console generate:controller

assets
php app/console assets:install web 

$this->get('session')->getFlashBag()
                ->set('notice', 
                $this->get('translator')->trans('myaccount')
                 );
                 
                 
                 
{% for flashMessage in app.session.flashbag.get('notice') %}
    <div class="flash-notice">
        {{ flashMessage }}
    </div>
{% endfor %}   

After Update:

php app/console -e=ENV cache:clear
php app/console -e=ENV assets:install
php app/console -e=ENV assetic:dump

with ENV=prod|dev|of|sb

Update to user-table with guid:
- Update database on console, it will return an error, while adding new index to user table
- Call http://myTestDomain.com/demo/update/UserGuid
- Update database on console again


https://github.com/Abhoryo/APYDataGridBundle/blob/master/Resources/doc/getting_started.md

Unit test
=========

phpunit -c app/ -useridentifier b2251899b4f8b9ddf1979f185e421dba5974b43a6f0082817b85433100d3dae34079cffbc58e2036577e1a8148c0be9f87ee4ca19d5eb37d2ca52242828d29ee

// aws first commit
 "php app/console doctrine:database:create --connection=Backend --env=test",
            "php app/console doctrine:database:create --connection=ServiceProvider --env=test",
            "php app/console doctrine:database:create --connection=Webservice --env=test",


europe-1-sso-live
webservice_live
aCVQ19#2014

EBS-Environments
================
Do not modify .htaccess! Move autogenerated app.php to app_prod.php. Create new app.php:

<?php

// The environment variable SYMFONY_ENV MUST be set
if (false === ($env = getenv('SYMFONY_ENV'))) {
    header("HTTP/1.0 500 Internal Server Error");
    echo "Internal Server Error. Missing environment configuration.";
    exit;
}

require 'app_' . $env . '.php';

Set Cusomtenvironment-Variable in AWS-Console
->EBS
->your-app-env
->Configuration
->Software Configuration
->Environment Properties
->Property Name: SYMFONY_ENV // Property Value: prod|staging

Enjoy!



http://ec2-54-77-152-160.eu-west-1.compute.amazonaws.com/phpMyAdmin/


./bin/phpunit app/ -c --coverage-html=cov/