Documentation ¶
Index ¶
- type LaravelDetector
- func (d LaravelDetector) DoFrameworkDetection(language *model.Language, config string)
- func (d LaravelDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
- func (d LaravelDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
- func (d LaravelDetector) GetSupportedFrameworks() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LaravelDetector ¶
type LaravelDetector struct{}
func (LaravelDetector) DoFrameworkDetection ¶
func (d LaravelDetector) DoFrameworkDetection(language *model.Language, config string)
DoFrameworkDetection uses a tag to check for the framework name
func (LaravelDetector) DoPortsDetection ¶
func (d LaravelDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
DoPortsDetection for Laravel will check if there is any .env file inside the component configuring the APP_PORT variable which is dedicated to port configuration.
func (LaravelDetector) GetApplicationFileInfos ¶ added in v1.2.0
func (d LaravelDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
func (LaravelDetector) GetSupportedFrameworks ¶
func (d LaravelDetector) GetSupportedFrameworks() []string
Click to show internal directories.
Click to hide internal directories.