There was an error while loading. Please reload this page.
1 parent aaefc01 commit d7cf078Copy full SHA for d7cf078
1 file changed
user_guide_src/source/general/configuration.rst
@@ -36,17 +36,6 @@ You can access configuration files for your classes in several different ways.
36
// Access config class with namespace
37
$config = config( 'Config\\Pager' );
38
39
-- By using ``\Config\Services::class`` which will apply an instance of the class's config for you::
40
-
41
- // Creates Pager instance usings a \Config\Pager instance automatically
42
- $pager = \Config\Services::pager();
43
44
-- Or use the convenience function ``service()`` to get the same results as the previous example::
45
46
- // A Pager object is created using \app\Config\Pager
47
- $pager = service('pager');
48
49
50
All configuration object properties are public, so you access the settings like any other property::
51
52
$config = config('Pager');
0 commit comments