summaryrefslogtreecommitdiff
path: root/src/Task.php
blob: a5698eacfe2ff712f3682f18432523b85ce05b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

namespace PHPIAC;

use PHPIAC\Module\ModuleInterface;

class Task
{
    public ModuleInterface $module;

    /**
     * Task constructor.
     */
    public function __construct() {}

    /**
     * @param ModuleInterface $module
     *
     * @return $this
     */
    public function setModule(ModuleInterface $module): self
    {
        $this->module = $module;

        return $this;
    }
}