Class PHPStan\Reflection\SideEffects

final

The side effects of a function or method, as returned by getSideEffects().

A function has the named effects, such as io.output, and possibly any other effect as much as $others says: No when the list is known to be complete, Maybe when nothing is known, Yes when it has some effects that are not named.

The called parameters are those flagged as pure unless the callable is impure: the call has the side effects of the callable passed there. The written parameters are those flagged as pure unless the parameter is passed, and those named by a listed writes-args($a, $b): the call writes to the argument passed there.

Methods