重载方法 __call 能否忽略

WBOY
Release: 2016-06-06 20:26:58
Original
1129 people have browsed it

使用了__call作为重载来输出不恰当的调用,遇到特定的功能位置不想让__call处理这些提示,有没办法在这些特定位置忽略 __call

回复内容:

使用了__call作为重载来输出不恰当的调用,遇到特定的功能位置不想让__call处理这些提示,有没办法在这些特定位置忽略 __call

特定位置忽略是不行的,不过你可以继承之后重载覆盖掉。

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template