Factory::composers()

array composers(array $composers) Register multiple view composers via an array. Parameters array $composers Return Value array

Factory::composer()

array composer(array|string $views, Closure|string $callback, int|null $priority = null) Register a view composer event. Parameters array|string $views Closure|string $callback int|null $priority Return Value array

Factory::composer()

array composer(array|string $views, Closure|string $callback, int|null $priority = null) Register a view composer event. Parameters array|string $views Closure|string $callback int|null $priority Return Value array

Factory::channel()

mixed channel(string|null $name = null) Get a channel instance by name. Parameters string|null $name Return Value mixed

Factory::callCreator()

void callCreator(View $view) Call the creator for a given view. Parameters View $view Return Value void

Factory::callComposer()

void callComposer(View $view) Call the composer for a given view. Parameters View $view Return Value void

Factory::appendSection()

string appendSection() Stop injecting content into a section and append it. Return Value string Exceptions InvalidArgumentException

Factory::alias()

void alias(string $view, string $alias) Add an alias for a view. Parameters string $view string $alias Return Value void

Factory::addNamespace()

void addNamespace(string $namespace, string|array $hints) Add a new namespace to the loader. Parameters string $namespace string|array $hints Return Value void

Factory::addNamespace()

void addNamespace(string $namespace, string|array $hints) Add a new namespace to the loader. Parameters string $namespace string|array $hints Return Value void