Covivo/mobicoop

View on GitHub
api/src/User/Controller/UserExport.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace App\User\Controller;

use App\User\Admin\Service\ExportManager;

class UserExport
{
    /**
     * @var ExportManager
     */
    private $_exportManager;

    public function __construct(ExportManager $exportManager)
    {
        $this->_exportManager = $exportManager;
    }

    public function __invoke()
    {
        return $this->_exportManager->exportAll();
    }
}