Skip to content

Commit 0a06bbe

Browse files
committed
Removed underscores from private/protected members names
1 parent 2f085fc commit 0a06bbe

File tree

155 files changed

+3062
-3062
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+3062
-3062
lines changed

lib/Doctrine/DBAL/Configuration.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Configuration
2323
*
2424
* @var array
2525
*/
26-
protected $_attributes = [];
26+
protected $attributes = [];
2727

2828
/**
2929
* Sets the SQL logger to use. Defaults to NULL which means SQL logging is disabled.
@@ -34,7 +34,7 @@ class Configuration
3434
*/
3535
public function setSQLLogger(SQLLogger $logger = null)
3636
{
37-
$this->_attributes['sqlLogger'] = $logger;
37+
$this->attributes['sqlLogger'] = $logger;
3838
}
3939

4040
/**
@@ -44,7 +44,7 @@ public function setSQLLogger(SQLLogger $logger = null)
4444
*/
4545
public function getSQLLogger()
4646
{
47-
return $this->_attributes['sqlLogger'] ?? null;
47+
return $this->attributes['sqlLogger'] ?? null;
4848
}
4949

5050
/**
@@ -54,7 +54,7 @@ public function getSQLLogger()
5454
*/
5555
public function getResultCacheImpl()
5656
{
57-
return $this->_attributes['resultCacheImpl'] ?? null;
57+
return $this->attributes['resultCacheImpl'] ?? null;
5858
}
5959

6060
/**
@@ -66,7 +66,7 @@ public function getResultCacheImpl()
6666
*/
6767
public function setResultCacheImpl(Cache $cacheImpl)
6868
{
69-
$this->_attributes['resultCacheImpl'] = $cacheImpl;
69+
$this->attributes['resultCacheImpl'] = $cacheImpl;
7070
}
7171

7272
/**
@@ -82,7 +82,7 @@ public function setResultCacheImpl(Cache $cacheImpl)
8282
*/
8383
public function setFilterSchemaAssetsExpression($filterExpression)
8484
{
85-
$this->_attributes['filterSchemaAssetsExpression'] = $filterExpression;
85+
$this->attributes['filterSchemaAssetsExpression'] = $filterExpression;
8686
}
8787

8888
/**
@@ -92,7 +92,7 @@ public function setFilterSchemaAssetsExpression($filterExpression)
9292
*/
9393
public function getFilterSchemaAssetsExpression()
9494
{
95-
return $this->_attributes['filterSchemaAssetsExpression'] ?? null;
95+
return $this->attributes['filterSchemaAssetsExpression'] ?? null;
9696
}
9797

9898
/**
@@ -108,7 +108,7 @@ public function getFilterSchemaAssetsExpression()
108108
*/
109109
public function setAutoCommit($autoCommit)
110110
{
111-
$this->_attributes['autoCommit'] = (boolean) $autoCommit;
111+
$this->attributes['autoCommit'] = (boolean) $autoCommit;
112112
}
113113

114114
/**
@@ -120,6 +120,6 @@ public function setAutoCommit($autoCommit)
120120
*/
121121
public function getAutoCommit()
122122
{
123-
return $this->_attributes['autoCommit'] ?? true;
123+
return $this->attributes['autoCommit'] ?? true;
124124
}
125125
}

0 commit comments

Comments
 (0)