Disabling automaticNavigation from Capsules
Hi folks, how can i disable automaticNavigation from Capsules
class SomeCapsuleServiceProvider extends TwillPackageServiceProvider
{
protected function registerCapsule(string $name): void
{
$namespace = $this->getCapsuleNamespace();
$namespace .= '\\Twill\\Capsules\\' . $name;
$dir = $this->getPackageDirectory() . DIRECTORY_SEPARATOR .
'src' . DIRECTORY_SEPARATOR .
'Twill' . DIRECTORY_SEPARATOR .
'Capsules' . DIRECTORY_SEPARATOR . $name;
\A17\Twill\Facades\TwillCapsules::registerPackageCapsule($name, $namespace, $dir, automaticNavigation: false);
}
}`