Skip to content

Commit

Permalink
Merge pull request #1 from makasim/sf4
Browse files Browse the repository at this point in the history
add sf4 support.
  • Loading branch information
toooni authored Oct 30, 2018
2 parents e4fa9fa + 8abf43c commit 1f625f0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
"minimum-stability": "stable",
"require": {
"php": "^7.1",
"symfony/dependency-injection": "^2.7 || ^3.0",
"symfony/config": "^2.7 || ^3.0",
"symfony/dependency-injection": "^3.4 | ^4.1",
"symfony/http-foundation": "^3.4 | ^4.1",
"symfony/http-kernel": "^3.4 | ^4.1",
"symfony/config": "^3.4 | ^4.1",
"plivo/plivo-php": "^4.0.0"
},
"autoload": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader;

class InvitPlivoExtension extends Extension
Expand Down
2 changes: 2 additions & 0 deletions src/Invit/PlivoBundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
services:
Invit\PlivoBundle\Service\PlivoApi:
public: true
arguments:
- '%invit_plivo.auth.auth_id%'
- '%invit_plivo.auth.auth_token%'

Invit\PlivoBundle\Helper\PlivoHelper:
public: true
arguments:
- '%invit_plivo.auth.auth_token%'

0 comments on commit 1f625f0

Please sign in to comment.