Bob\Task::__construct PHP Method

__construct() public method

# application - The application object, to which this task belongs to.
public __construct ( $name, $application )
    function __construct($name, $application)
    {
        $this->name = $name;
        $this->application = $application;
        $this->description = TaskRegistry::$lastDescription;
        TaskRegistry::$lastDescription = '';
        $this->clear();
    }