1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00

Fix alias handling with --dev installs, fixes #579

This commit is contained in:
Jordi Boggiano 2012-04-15 19:05:16 +02:00
parent 7b87d2b573
commit f63df842b3
3 changed files with 27 additions and 10 deletions

View file

@ -21,6 +21,7 @@ use Composer\Package\Dumper\ArrayDumper;
* Filesystem repository.
*
* @author Konstantin Kudryashov <ever.zet@gmail.com>
* @author Jordi Boggiano <j.boggiano@seld.be>
*/
class FilesystemRepository extends ArrayRepository implements WritableRepositoryInterface
{
@ -71,6 +72,12 @@ class FilesystemRepository extends ArrayRepository implements WritableRepository
}
}
public function reload()
{
$this->packages = null;
$this->initialize();
}
/**
* Writes writable repository.
*/