public function get($type)
    {
        $collection = new Collection();

        foreach ($this->notifications as $key => $message) {
            if ($message->getType() == $type) {
                $collection->add($message);
            }
        }

        return $collection;
    }