Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotAnLaravelProject = errors.New("not a laravel project")
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project struct {
// contains filtered or unexported fields
}
Project encapsulates the runtime details needed to execute PHP code and retrieve information from a Laravel project.
func New ¶
New initializes a new project by analyzing the project in rootPath and finding a suitable php process.
func (Project) AppBindings ¶
func (project Project) AppBindings() (repository.AppRepository, error)
AppBindings retrieves the application bindings repository in the project
func (Project) Configs ¶
func (project Project) Configs() (repository.ConfigRepository, error)
Configs retrieves the configuration repository in the project
func (Project) Process ¶
func (project Project) Process() *runtime.PHPProccess
RootPath returns the php process for the project
Click to show internal directories.
Click to hide internal directories.