TaskService
class TaskService (View source)
Methods useful for working with Task objects.
Properties
protected EntityManager | $entityManager | ||
protected User | $user | ||
protected UserInfoRepository | $userInfoRepository | ||
protected Date | $dateService |
Methods
__construct(Date $dateService, User $user, UserInfoRepository $userInfoRepository, EntityManager $entityManager)
TaskService constructor.
getList()
No description
getByID($id)
No description
getByHandle($handle)
No description
User|null
getCurrentUserEntity()
No description
Details
__construct(Date $dateService, User $user, UserInfoRepository $userInfoRepository, EntityManager $entityManager)
TaskService constructor.
getList()
No description
getByID($id)
No description
getByHandle($handle)
No description
protected User|null
getCurrentUserEntity()
No description
start(Task $task)
No description
complete(Task $task)
No description
add(string $handle, Package $pkg = null)
No description
delete(Task $task)
No description