__construct() public méthode

Create a new Eloquent model instance.
public __construct ( array $attributes = [] ) : void
$attributes array
Résultat void
 public function __construct($message)
 {
     if (is_a($message, 'Agouti\\LaravelMailcatcher\\Model')) {
         //$data = $message->toArray();
         return $message;
     } else {
         $data = $this->parseMessage($message);
     }
     return parent::__construct($data);
 }