Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
rhift committed Jun 11, 2018
1 parent fa196dc commit f2fecaf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
23 changes: 13 additions & 10 deletions example/src/V1/Environment/Parameters.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
parameters:
# Redis.
neighborhoods.kojo.environment.parameters.redis_port: '%env(REDIS_PORT)%'
neighborhoods.kojo.environment.parameters.redis_host: '%env(REDIS_HOST)%'
neighborhoods.kojo.environment.parameters.database_user_name: '%env(DATABASE_USERNAME)%'
neighborhoods.kojo.environment.parameters.database_password: '%env(DATABASE_PASSWORD)%'
neighborhoods.kojo.environment.parameters.database_adapter: '%env(DATABASE_ADAPTER)%'
neighborhoods.kojo.environment.parameters.database_host: '%env(DATABASE_HOST)%'
neighborhoods.kojo.environment.parameters.database_name: '%env(DATABASE_NAME)%'
# neighborhoods.kojo.environment.parameters.database_user_name: 'nhds'
# neighborhoods.kojo.environment.parameters.database_password: 'nhds2016'
# neighborhoods.kojo.environment.parameters.database_adapter: 'pgsql'
# neighborhoods.kojo.environment.parameters.database_host: 'pgsql'
# neighborhoods.kojo.environment.parameters.database_name: 'kojo'
# MySQL.
# neighborhoods.kojo.environment.parameters.database_user_name: '%env(DATABASE_USERNAME)%'
# neighborhoods.kojo.environment.parameters.database_password: '%env(DATABASE_PASSWORD)%'
# neighborhoods.kojo.environment.parameters.database_adapter: '%env(DATABASE_ADAPTER)%'
# neighborhoods.kojo.environment.parameters.database_host: '%env(DATABASE_HOST)%'
# neighborhoods.kojo.environment.parameters.database_name: '%env(DATABASE_NAME)%'
# Postgres.
neighborhoods.kojo.environment.parameters.database_user_name: 'nhds'
neighborhoods.kojo.environment.parameters.database_password: 'nhds2016'
neighborhoods.kojo.environment.parameters.database_adapter: 'pgsql'
neighborhoods.kojo.environment.parameters.database_host: 'pgsql'
neighborhoods.kojo.environment.parameters.database_name: 'kojo'
2 changes: 1 addition & 1 deletion example/src/V1/Worker/Facade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function bootstrap(): FacadeInterface
return $this;
}

public function getContainerBuilderFacade(): DependencyInjection\ContainerBuilder\Facade
public function getContainerBuilderFacade(): DependencyInjection\ContainerBuilder\FacadeInterface
{
if ($this->containerBuilderFacade === null) {
$this->containerBuilderFacade = new DependencyInjection\ContainerBuilder\Facade();
Expand Down

0 comments on commit f2fecaf

Please sign in to comment.