-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Core] Add LorisInstance class #6118
Conversation
435fd1f
to
a3b0e41
Compare
This adds a class to LORIS to represent an installed LORIS instance. It is primarily a stub that can be expanded in the future. Resolves aces#6022
a3b0e41
to
2a8148c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-Authored-By: PapillonMcGill <[email protected]>
* | ||
* @param \Database $db A database connection to this | ||
* instance. | ||
* @param string[] $moduleDirs A list of directories that may |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be nice to use SPLFileInfo instead especially if the main purpose of this property is to do validation based on the filepaths.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is not the main purpose. The main purpose is to have a list of directories that modules may be found in.
This adds a class to LORIS to represent an installed LORIS instance.
It is primarily a stub that can be expanded in the future.
Resolves #6022