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

setDescription() private method

private setDescription ( $description )
    private function setDescription($description)
    {
        if (strlen($description) < 5) {
            throw new \RuntimeException('Description must be greater than 4 chars long.');
        }
        $this->description = $description;
    }