IMessage.php should implement public function toArray(), as it is used by Message.php
fixxed namespace
fixxed type in PHPDoc