public function getAssetManager()
{
if (!$this->started) {
throw new LogicException('Puli was not started');
}
if (!$this->assetManager && $this->context instanceof ProjectContext) {
$this->assetManager = new DiscoveryAssetManager($this->getDiscoveryManager(), $this->getServerManager()->getServers());
}
return $this->assetManager;
}