public function __construct($data) { parent::__construct('You must provide a ValueObject for visiting, "' . gettype($data) . '" provided.'); }