Skip to content
This repository has been archived by the owner on Nov 8, 2020. It is now read-only.

Silex 2 and Pimple 3 compatibility (another one, with the minimal changes) #46

Merged
merged 1 commit into from Mar 6, 2015
Merged

Conversation

marcimat
Copy link
Contributor

@marcimat marcimat commented Mar 5, 2015

Minimal changes to use Silex 2.0-dev and Pimple 3 in silex-assetic.

  • the share() method is not present anymore in Pimple 3 and functions are now shared by default.
  • the extend() method also auto reassign the key with the return value, so the $app['key'] = assignment before is not needed anymore.
  • use new silex interface for bootable service
  • use a Pimple Container in the constructor of the service.

Hope it helps.

- the share() method is not present anymore in Pimple 3 and functions are now shared by default.
- the extend() method also auto reassign the key with the return value, so the `$app['key'] = ` assignment before is not needed anymore.
- use new silex interface for bootable service
- use a Pimple Container in the constructor of the service.
mheap added a commit that referenced this pull request Mar 6, 2015
Silex 2 and Pimple 3 compatibility (another one, with the minimal changes)
@mheap mheap merged commit 6487fbf into mheap:master Mar 6, 2015
@marcimat marcimat deleted the silex-2 branch March 6, 2015 14:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants