Home >Backend Development >PHP Tutorial >Can the visitor of the visitor pattern actually be regarded as the strategy of the strategy pattern?

Can the visitor of the visitor pattern actually be regarded as the strategy of the strategy pattern?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-09-24 09:03:141059browse

Visitors in visitor mode can actually be regarded as strategies in strategy mode? Can you look at it this way?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn