Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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 <34311645+PapillonMcGill@users.noreply.github.com>
@johnsaigle johnsaigle added the Feature PR or issue introducing/requiring at least one 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
zaliqarosli pushed a commit to zaliqarosli/Loris that referenced this pull request Mar 3, 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 aces#6022
@ridz1208 ridz1208 added this to the 24.0.0 milestone Apr 1, 2020
maltheism pushed a commit to maltheism/Loris that referenced this pull request Apr 7, 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 aces#6022
laemtl pushed a commit to laemtl/Loris that referenced this pull request Jun 10, 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 aces#6022
laemtl pushed a commit to laemtl/Loris that referenced this pull request Jun 16, 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 aces#6022
AlexandraLivadas pushed a commit to AlexandraLivadas/Loris that referenced this pull request Jun 29, 2021
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Feature PR or issue introducing/requiring at least one new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create object to represent a LORIS Instance
4 participants