123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <?php
-
-
- namespace Doctrine\DBAL;
-
- use Doctrine\DBAL\Logging\SQLLogger;
- use Doctrine\Common\Cache\Cache;
-
-
- class Configuration
- {
-
-
- protected $_attributes = array();
-
-
-
- public function setSQLLogger(SQLLogger $logger = null)
- {
- $this->_attributes['sqlLogger'] = $logger;
- }
-
-
-
- public function getSQLLogger()
- {
- return isset($this->_attributes['sqlLogger']) ?
- $this->_attributes['sqlLogger'] : null;
- }
-
-
-
- public function getResultCacheImpl()
- {
- return isset($this->_attributes['resultCacheImpl']) ?
- $this->_attributes['resultCacheImpl'] : null;
- }
-
-
-
- public function setResultCacheImpl(Cache $cacheImpl)
- {
- $this->_attributes['resultCacheImpl'] = $cacheImpl;
- }
-
-
-
- public function setFilterSchemaAssetsExpression($filterExpression)
- {
- $this->_attributes['filterSchemaAssetsExpression'] = $filterExpression;
- }
-
-
-
- public function getFilterSchemaAssetsExpression()
- {
- if (isset($this->_attributes['filterSchemaAssetsExpression'])) {
- return $this->_attributes['filterSchemaAssetsExpression'];
- }
- return null;
- }
- }
|