src/Controller/ProfileController.php
public function indexAction()
    {
        $result = $this->pagination([
            'params' => ['Organizations_Profile',[
                    'q',
                    'count' => $this->options['count'],
                    'page' => 1,
                ]
            ],
            'paginator' => [
                'Organizations/Organization',
                'as' => 'organizations',
                'params' => [
                    'type' => 'profile',
                ]
            ],
            'form' => [
                'Core/Search',
                'as' => 'form',
            ]
        ]);

        $organizationImageCache = $this->imageFileCacheManager;
        $result['organizationImageCache'] = $organizationImageCache;

        return new ViewModel($result);
    }
public function indexAction()
    {
        $result = $this->pagination([
            'params' => ['Organizations_Profile',[
                    'q',
                    'count' => $this->options['count'],
                    'page' => 1,
                ]
            ],
            'paginator' => [
                'Organizations/Organization',
                'as' => 'organizations',
                'params' => [
                    'type' => 'profile',
                ]
            ],
            'form' => [
                'Core/Search',
                'as' => 'form',
            ]
        ]);

        $organizationImageCache = $this->imageFileCacheManager;
        $result['organizationImageCache'] = $organizationImageCache;

        return new ViewModel($result);
    }
List organization

@return ViewModel