File: D:/HostingSpaces/SBogers10/immoginis.komma.pro/app/Komma/Properties/PropertyComposer.php
<?php
namespace Komma\Properties;
class PropertyComposer
{
private $propertyService;
public function __construct(PropertyService $propertyService)
{
$this->propertyService = $propertyService;
}
public function compose($view)
{
$this->propertyService->updateFilterQuery();
$properties = $this->propertyService->decodeProperties($this->propertyService->getProperties());
return $view->with(['properties' => $properties]);
}
}