Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit eb6fcb3

Browse files
committed
Merge pull request #216 from dantleech/di_parameterclass
Parameter standard naming for class parameters
2 parents 91e6244 + 6f0f56f commit eb6fcb3

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

contributing/bundles.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ Interface Naming
4141
~~~~~~~~~~~~~~~~
4242

4343
Interfaces which exist to provide *getters* MUST be suffixed with
44-
"ReadInterface"
44+
"ReadInterface".
4545

4646
Interfaces which exist to provide *setters* MUST be suffixed with
47-
"WriteInterface"
47+
"WriteInterface".
4848

49-
"Read/Write" Interfaces, which provide *both* getters and setters, MUST not
49+
"Read/Write" Interfaces, which provide **both** getters and setters, MUST not
5050
have an additional suffix and MUST extend the "Read" and "Write" interfaces IF
5151
either exists.
5252

@@ -76,6 +76,10 @@ If either or both "Read" and "Write" interfaces do not exist, then the
7676
public function setFoobar($foobar);
7777
}
7878

79+
Dependency Container Configuration
80+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81+
82+
Refer the the `service naming conventions`_ in the symfony documentation.
7983

8084
Meta: README, CHANGELOG, etc
8185
----------------------------
@@ -192,3 +196,4 @@ instructions on how the component should be integrated.
192196
.. _`XLIFF format`: http://symfony.com/doc/current/book/translation.html#basic-translation
193197
.. _`CONTRIBUTING file from CoreBundle`: https://github.com/symfony-cmf/CoreBundle/blob/master/CONTRIBUTING.md
194198
.. _`LICENSE template on wiki`: https://github.com/symfony-cmf/symfony-cmf/wiki/LICENSE-Template
199+
.. _`service naming conventions`: http://symfony.com/doc/current/contributing/code/standards.html#service-naming-conventions

0 commit comments

Comments
 (0)