Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Autoloader service removed from Silex core #7

Closed
cristianoc72 opened this Issue May 27, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Member

cristianoc72 commented May 27, 2012

Symfony ClassLoader component was removed from Silex core (http://silex.sensiolabs.org/doc/changelog.html), in favor of Composer autoloader, so autoloader service is no more provided.

We should update PropelServiceProvider:

  1. Remove the references to `$app['autoloader']`.
    
  2. Update the documentation: setting correctly the model namespace now is user's responsability, because the only way is via `Composer.json` (may be, it's easier to always use Propel internal autoload).
    
  3. `propel.model_path` parameter now it's useful only if `propel.internal_autoload` parameter is set to true.
    
  4. `propel.path` parameter now it's useful only if Propel isn't installed via Composer.
    

cristianoc72 added a commit to cristianoc72/PropelServiceProvider that referenced this issue Jun 4, 2012

willdurand added a commit that referenced this issue Jun 11, 2012

Merge pull request #8 from cristianoc72/master
Update according to new Silex version (see issue #7)
Owner

willdurand commented Jun 11, 2012

Fixed.

@willdurand willdurand closed this Jun 11, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment