# app/config/config.yml
doctrine:
orm:
entity_managers:
default:
repository_factory: doctrine.orm.repository_factory.container_aware
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.4' | |
services: | |
traefik: | |
image: traefik | |
command: | |
- "--docker" | |
- "--defaultentrypoints=http,https" | |
- "--entrypoints=Name:http Address::80" | |
- "--entrypoints=Name:https Address::443 TLS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id3iconv() { | |
FILE="$@" | |
if [ -z $FILE ]; then | |
FILE="." | |
fi | |
if [ -d $FILE ]; then | |
find $FILE -iname "*.mp3" -exec java -jar ~/Applications/id3iconv-0.2.1.jar -d -e cp1251 {} \; | |
return 0 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xdebug() { | |
if [ "$1" = "-e" ]; then | |
export XDEBUG_CONFIG="idekey=PHPSTORM" | |
echo "xdebug enabled" | |
return | |
fi | |
if [ "$1" = "-d" ]; then | |
unset XDEBUG_CONFIG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Nelmio\HomeBundle\Tests\Controller; | |
use Nelmio\HomeBundle\Controller\ContactController; | |
use Liip\FunctionalTestBundle\Test\WebTestCase; | |
class ContactControllerTest extends WebTestCase | |
{ | |
public function testEmail() |