MyBuilder\Package\ToDo\Task::equals PHP Method

equals() public method

public equals ( Task $that )
$that Task
    public function equals(Task $that)
    {
        return $this->getTitle() === $that->getTitle() && $this->getDescription() === $that->getDescription();
    }