Skip to content

Commit 7d41825

Browse files
authored
Added schema_filter configuration option
1 parent 1057dcf commit 7d41825

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

src/DoctrineORMModule/Options/Configuration.php

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Configuration extends DBALConfiguration
3535
* @var string
3636
*/
3737
protected $queryCache = 'array';
38-
38+
3939
/**
4040
* Set the cache key for the result cache. Cache key
4141
* is assembled as "doctrine.cache.{key}" and pulled from
@@ -201,6 +201,13 @@ class Configuration extends DBALConfiguration
201201
* @var SecondLevelCacheConfiguration|null
202202
*/
203203
protected $secondLevelCache;
204+
205+
/**
206+
* Configuration for schema filter
207+
*
208+
* @var string|null
209+
*/
210+
protected $schemaFilter;
204211

205212
/**
206213
* @param array $datetimeFunctions
@@ -675,6 +682,23 @@ public function getSecondLevelCache()
675682
{
676683
return $this->secondLevelCache ?: new SecondLevelCacheConfiguration();
677684
}
685+
686+
/**
687+
* @param string $schemaFilter
688+
* @return void
689+
*/
690+
public function setSchemaFilter($schemaFilter)
691+
{
692+
$this->schemaFilter = $schemaFilter;
693+
}
694+
695+
/**
696+
* @return string|null
697+
*/
698+
public function getSchemaFilter()
699+
{
700+
return $this->schemaFilter;
701+
}
678702

679703
/**
680704
* Sets default repository class.

0 commit comments

Comments
 (0)