Skip to content

Add missing augmentation methods #1937

@morhi

Description

@morhi

https://statamic.dev/frontend/augmentation explains the available augmentation methods, but HasAugmentedInstance.php contains more than the documented methods. It would be helpful to have more information on deferred and evaluated methods and a better explanation on which method should be used in which situation (difference between augment, defer, evaluate, shallow).

Missing methods:

  • toDeferredAugmentedArray()
  • toEvaluatedAugmentedArray()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions