Skip to content

Commit d7cf078

Browse files
committed
Removed Services references
1 parent aaefc01 commit d7cf078

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

user_guide_src/source/general/configuration.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@ You can access configuration files for your classes in several different ways.
3636
// Access config class with namespace
3737
$config = config( 'Config\\Pager' );
3838

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-
5039
All configuration object properties are public, so you access the settings like any other property::
5140

5241
$config = config('Pager');

0 commit comments

Comments
 (0)