* Jordi Boggiano * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Repository; use Composer\Package\PackageInterface; /** * @author Jordi Boggiano */ interface StreamableRepositoryInterface extends RepositoryInterface { /** * Return partial package data without loading them all to save on memory * * @return array */ public function getMinimalPackages(); public function loadPackage(array $data, $id); }