File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ public function getConfigTreeBuilder()
2323 ->scalarNode ('branding ' )->end ()
2424 ->scalarNode ('rotation ' )->end ()
2525 ->scalarNode ('currency ' )->end ()
26+ ->scalarNode ('client_id ' )->defaultNull ()->end ()
27+ ->scalarNode ('redirect ' )->defaultNull ()->end ()
2628 ->scalarNode ('cache_service ' )->defaultValue ("bookboonapi.cache.redis " )->end ()
2729 ->arrayNode ('languages ' )->isRequired ()->prototype ('scalar ' )->end ()->end ()
2830 ->arrayNode ('scopes ' )->isRequired ()->prototype ('scalar ' )->end ()->end ()
Original file line number Diff line number Diff line change @@ -72,6 +72,23 @@ public function getCurrency()
7272 return isset ($ this ->_config ['currency ' ]) ? $ this ->_config ['currency ' ] : null ;
7373 }
7474
75+ /**
76+ * @return string
77+ */
78+ public function getClientId ()
79+ {
80+ return isset ($ this ->_config ['client_id ' ]) ? $ this ->_config ['client_id ' ] : null ;
81+ }
82+
83+
84+ /**
85+ * @return string
86+ */
87+ public function getRedirectUrl ()
88+ {
89+ return isset ($ this ->_config ['redirect ' ]) ? $ this ->_config ['redirect ' ] : null ;
90+ }
91+
7592 /**
7693 * @return int
7794 */
You can’t perform that action at this time.
0 commit comments