__tostring
当对象被当作string使用时,这个方法被调用

__invoke
当对象被当作方法调用时,这个方法被调用