FileCreator
in package
FinalYes
Service.
Table of Contents
Methods
- __construct() : mixed
- The constructor.
- createFiles() : string
- Create a new user.
Methods
__construct()
The constructor.
public
__construct(UserRepository $repository, UserValidator $userValidator) : mixed
Parameters
- $repository : UserRepository
-
The repository
- $userValidator : UserValidator
-
The validator
createFiles()
Create a new user.
public
createFiles(int $uid) : string
Parameters
- $uid : int
-
The form data
Return values
string —Path to the zip file