Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Documentation][Locale] Component docs fix#8826

Merged
pamil merged 2 commits into
Sylius:1.0from
CoderMaggie:docs/nightrainlily-locale
Oct 15, 2017
Merged

[Documentation][Locale] Component docs fix#8826
pamil merged 2 commits into
Sylius:1.0from
CoderMaggie:docs/nightrainlily-locale

Conversation

@CoderMaggie
Copy link
Copy Markdown
Member

@CoderMaggie CoderMaggie commented Oct 12, 2017

Q A
Branch? 1.0
Doc fix? yes
Related tickets #8813 , fixes #8811
License MIT

Changes thanks to @nightrainlily who is our first time contributor 🔥 ! I just made a rebase here :D

@CoderMaggie CoderMaggie added the Documentation Documentation related issues and PRs - requests, fixes, proposals. label Oct 12, 2017
@CoderMaggie CoderMaggie added this to the 1.0 milestone Oct 12, 2017
@CoderMaggie CoderMaggie requested a review from pamil October 12, 2017 08:01
~~~~~~~~~~~~~~~~~~~~~~

It is a composite of different contexts available in your application, which are prioritized while being injected here (the one with highest priority is used).
It has the ``getLocaleCode``, ``_construct()``, and ``addContext(LocaleContextInterface $localeContext, int $priority)`` methods available.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This line is quite fragile and can be replaced by looking at the source code instead.

~~~~~~~~~~~~~~~~~~~~~~

It is a composite of different contexts available in your application, which are prioritized while being injected here (the one with highest priority is used).
It has the ``getLocaleCode``, ``_construct()``, and ``addContext(LocaleContextInterface $localeContext, int $priority)`` methods available.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Anyway, _construct() -> __construct() and getLocaleCode -> getLocaleCode() if we decide to keep it

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed :)

@CoderMaggie CoderMaggie force-pushed the docs/nightrainlily-locale branch from 12cad2b to 419b0f2 Compare October 12, 2017 08:11
@pamil pamil merged commit 30f90e1 into Sylius:1.0 Oct 15, 2017
@CoderMaggie CoderMaggie deleted the docs/nightrainlily-locale branch October 15, 2017 09:04
@pamil
Copy link
Copy Markdown
Contributor

pamil commented Oct 15, 2017

Thank you @nightrainlily and @CoderMaggie! 👍

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

Labels

Documentation Documentation related issues and PRs - requests, fixes, proposals.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants