Skip to content
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

Merged
merged 2 commits into from
Mar 3, 2020
Merged

Conversation

driusan
Copy link
Collaborator

@driusan driusan commented Feb 27, 2020

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

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
Copy link
Contributor

@PapillonMcGill PapillonMcGill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/LorisInstance.php Outdated Show resolved Hide resolved
Co-Authored-By: PapillonMcGill <[email protected]>
@johnsaigle johnsaigle added the Category: Feature PR or issue that aims to introduce a new feature label Mar 2, 2020
*
* @param \Database $db A database connection to this
* instance.
* @param string[] $moduleDirs A list of directories that may
Copy link
Contributor

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.

Copy link
Collaborator Author

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.

@driusan driusan merged commit 553165c into aces:master Mar 3, 2020
@ridz1208 ridz1208 added this to the 24.0.0 milestone Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Feature PR or issue that aims to introduce a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create object to represent a LORIS Instance
4 participants