Skip to content

Reuse the configuration instance & don't fetch release stage when not needed - #14

Open
Stoux wants to merge 2 commits into
interjar:masterfrom
Stoux:improvement/configuration
Open

Reuse the configuration instance & don't fetch release stage when not needed#14
Stoux wants to merge 2 commits into
interjar:masterfrom
Stoux:improvement/configuration

Conversation

@Stoux

@Stoux Stoux commented Sep 30, 2019

Copy link
Copy Markdown

If I'm correct there is no need to build the configuration every time getConfiguration is called.
Just reuse the one set in the attribute config.

Also moved the $this->getReleaseStage() call to after the creation of the Configuration, as it isn't needed otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant