Documentation

UserRepository
in package

Table of Contents

getDefaultUserForProject()  : User|null
Returns the default user for the specified project.

Methods

getDefaultUserForProject()

Returns the default user for the specified project.

public static getDefaultUserForProject(int $project_id) : User|null

Today there is no "default" user. There should be only one user with a project_id. So we take the first that we find in the database

Parameters
$project_id : int
Return values
User|null

Search results