1<?php
2/**
3 * Created by IntelliJ IDEA.
4 * User: gerard
5 * Date: 18/06/2018
6 * Time: 20:56
7 */
8
9class Message404
10{
11
12
13    private $content = "";
14    private $type = self::TYPE_CLASSIC;
15
16    const TYPE_CLASSIC = 'Classic';
17    const TYPE_WARNING = 'Warning';
18
19    /**
20     * Message404 constructor.
21     */
22    public function __construct()
23    {
24
25    }
26
27    public function addContent($message)
28    {
29        $this->content .= $message;
30    }
31
32    public function setType($type)
33    {
34        $this->type=$type;
35    }
36
37    public function getContent()
38    {
39        return $this->content;
40    }
41
42    public function getType()
43    {
44        return $this->type;
45    }
46
47}