Change private properties to protected

This commit is contained in:
Frederic Guillot
2016-01-13 21:02:32 -05:00
parent 2d85e0fab7
commit f9c676cf81
10 changed files with 36 additions and 34 deletions

View File

@@ -15,10 +15,10 @@ class DatabaseUserProvider implements UserProviderInterface
/**
* User properties
*
* @access private
* @access protected
* @var array
*/
private $user = array();
protected $user = array();
/**
* Constructor

View File

@@ -15,50 +15,50 @@ class LdapUserProvider implements UserProviderInterface
/**
* LDAP DN
*
* @access private
* @access protected
* @var string
*/
private $dn;
protected $dn;
/**
* LDAP username
*
* @access private
* @access protected
* @var string
*/
private $username;
protected $username;
/**
* User name
*
* @access private
* @access protected
* @var string
*/
private $name;
protected $name;
/**
* Email
*
* @access private
* @access protected
* @var string
*/
private $email;
protected $email;
/**
* User role
*
* @access private
* @access protected
* @var string
*/
private $role;
protected $role;
/**
* Group LDAP DNs
*
* @access private
* @access protected
* @var string[]
*/
private $groupIds;
protected $groupIds;
/**
* Constructor

View File

@@ -23,10 +23,10 @@ abstract class OAuthUserProvider implements UserProviderInterface
/**
* User properties
*
* @access private
* @access protected
* @var array
*/
private $user = array();
protected $user = array();
/**
* Constructor

View File

@@ -16,10 +16,10 @@ class ReverseProxyUserProvider implements UserProviderInterface
/**
* Username
*
* @access private
* @access protected
* @var string
*/
private $username = '';
protected $username = '';
/**
* Constructor