PublishAssets
class PublishAssets
Methods
void
handle(ServeCommandStarted $event)
Publish the authentication page assets when serving the runtime skeleton.
bool
isInsideBasePath(string $path)
Determine if the given path resolves inside the application's base path.
Details
at line 20
__construct(Application $app, Filesystem $files)
Create a new listener instance.
at line 32
void
handle(ServeCommandStarted $event)
Publish the authentication page assets when serving the runtime skeleton.
Only the disposable runtime copy owned by this process is written to. Other applications keep their existing assets and use the vendor:publish command.
at line 61
protected bool
isInsideBasePath(string $path)
Determine if the given path resolves inside the application's base path.
The nearest existing ancestor is resolved, so a public path or directory that links outside the runtime copy is never written through.