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

Skip to content

Visibility changes #198

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

Merged
6 commits merged into from
Mar 10, 2011
Merged

Visibility changes #198

6 commits merged into from
Mar 10, 2011

Conversation

schmittjoh
Copy link
Contributor

This commit has mostly visibility changes plus some method changes, see the commit message.

@hason
Copy link
Contributor

hason commented Mar 8, 2011

Please no private methods and attributes. Symfony2 always uses public or protected visibility. Private visibility uses only in extraordinary cases. In my opinion, this is a sensible solution. In Python or Ruby there is no real private visibility. Symfony2 is framework and so each class should be extensible and each method should be reusable.

@fabpot
Copy link
Member

fabpot commented Mar 8, 2011

What's the reasoning behind renaming account to user? Account is probably semantically more correct. A user can have more than one account. A user cannot be disabled, an account can. And it seems to me that account is understandable by everyone.

@fabpot
Copy link
Member

fabpot commented Mar 10, 2011

I definitely don't like UserDetails. UserAccountInterface seems better to me, but the, I still like AccountInterface better.

@mvrhov
Copy link

mvrhov commented Mar 10, 2011

I'm wondering do we still need has_role? Isn't the app.security.vote recommended way to check for permissions?

SofHad pushed a commit to SofHad/symfony that referenced this pull request Oct 12, 2015
…(ccab)

This PR was squashed before being merged into the master branch (closes symfony#201).

Discussion
----------

Adding translation config to pagination controls

Fixed symfony#198

Commits
-------

f060e90 Adding translation config to pagination controls
jderusse pushed a commit to jderusse/symfony that referenced this pull request Mar 30, 2020
chalasr pushed a commit to chalasr/symfony that referenced this pull request Sep 24, 2020
This pull request was closed.
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.

5 participants