File "HasInertia.php"
Full path: /home/orbitecv/orbite-school.orbit.et/vendor/spatie/laravel-package-tools/src/Concerns/Package/HasInertia.php
File size: 331 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Edit Back
<?php
namespace Spatie\LaravelPackageTools\Concerns\Package;
trait HasInertia
{
public bool $hasInertiaComponents = false;
public function hasInertiaComponents(?string $namespace = null): static
{
$this->hasInertiaComponents = true;
$this->viewNamespace = $namespace;
return $this;
}
}