src/ProxyManager/ProxyGenerator/Util/PublicScopeSimulator.php
private static function getByRefReturnValue(string $operationType) : string
    {
        return $operationType === self::OPERATION_GET || $operationType === self::OPERATION_SET ? '& ' : '';
    }
private static function getByRefReturnValue(string $operationType) : string
    {
        return $operationType === self::OPERATION_GET || $operationType === self::OPERATION_SET ? '& ' : '';
    }
private static function getByRefReturnValue ( string $ operationType ) : string { return $ operationType === self :: OPERATION_GET || $ operationType === self :: OPERATION_SET ? '& ' : '' ; }
Defines whether the given operation produces a reference.

Note: if the object is a wrapper, the wrapped instance is accessed directly. If the object
is a ghost or the proxy has no wrapper, then an instance of the parent class is created via
on-the-fly unserialization
Defines whether the given operation produces a reference .