Location: PHPKode > projects > GnomePHP > peec-GnomePHP-b5a360b/gnomephp/message/MessageItem.php
<?php
namespace gnomephp\message;

abstract class MessageItem{
	public $type;
	public $message;
	public function __construct($type, $message){
		$this->type = $type;
		$this->message = $message;
	}
	
	public function getMessage(){
		return $this->message;
	}
	
	public function getType(){
		return $this->type;
	}
	
	public function __toString(){
		return $this->message;
	}
}
Return current item: GnomePHP