mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating documentation on App::objects() so it more reflects what the method does. Fixes #874
This commit is contained in:
parent
8f25547fc1
commit
735ac17b85
1 changed files with 5 additions and 1 deletions
|
@ -758,7 +758,11 @@ class App extends Object {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns an index of objects of the given type, with the physical path to each object.
|
||||
* Returns an array of objects of the given type.
|
||||
*
|
||||
* Example usage:
|
||||
*
|
||||
* `App::objects('plugin');` returns `array('DebugKit', 'Blog', 'User');`
|
||||
*
|
||||
* @param string $type Type of object, i.e. 'model', 'controller', 'helper', or 'plugin'
|
||||
* @param mixed $path Optional Scan only the path given. If null, paths for the chosen
|
||||
|
|
Loading…
Reference in a new issue