[Flow] \TYPO3\Flow\Package\PackageManager::getAvailablePackages does not return anything
Bastian Waidelich
bastian at typo3.org
Thu Jun 5 14:04:16 CEST 2014
Christian Loock wrote:
Hi Christian,
> I want to get a list of all Packages inside my Flow App. I tried using
> \TYPO3\Flow\Package\PackageManager::getAvailablePackages (like Flow's
> package Command controller does), but all I get is an empty array.
> Is there something special to consider about the PackageManager?
Yes, you should refer to the PackageManagerInterface which is registered
very early in the bootstrap (see http://forge.typo3.org/issues/59357)
--
Bastian Waidelich
More information about the Flow
mailing list