File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
src/DoctrineORMModule/Options Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments