ToArrayMethod

References
public enum ToArrayMethod
Enumerates the possible behaviours for ToArray() methods on ITwig types.

Enum values

NameValueDescription
IfExists0If the cache exists a copy will be returned. If not, null will be returned.
Always1An array will be returned even if none already exists.