ViewBag stores custom template properties, hidden in the backend.

  • October\Contracts\Twig\CallsAnyMethod
  • Stringable

Public Properties

public bool $isHidden

isHidden from the backend UI.

Show inherited public properties

Inherited Public Properties

Protected Properties

There are no protected properties in the class.

Show inherited protected properties

Inherited Protected Properties

Public Methods

public __get()

public __get(string $name): void 

__get implements the getter functionality.

public __isset()

public __isset(string $key): bool 

__isset determine if an attribute exists on the object.

public componentDetails()

public componentDetails(): array 

public defineProperties()

public defineProperties(): array 

public validateProperties()

public validateProperties(array $properties): array 

Show inherited public methods

Inherited Public Methods

Protected Methods

Show inherited protected methods

Inherited Protected Methods