Skip to content

Commit 552ad9e

Browse files
committed
docs: fix incorrect explanation
1 parent 919b728 commit 552ad9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/outgoing/view_cells.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ No matter which type of View Cell you are using, you can call it from any view b
2121

2222
<?= view_cell('App\Cells\MyClass::myMethod', ['param1' => 'value1', 'param2' => 'value2']); ?>
2323

24-
If you do not include the full namespace for the class, it will assume in can be found in the ``App\Cells`` namespace. So, the above example would attempt to find the ``MyClass`` class in ``app/Cells/MyClass.php``. If it is not found there, all namespaces will be scanned until it is found, searching within a ``Cells`` subdirectory of each namespace.
24+
If you do not include the full namespace for the class, it will assume in can be found in the ``App\Cells`` namespace. So, the following example would attempt to find the ``MyClass`` class in ``app/Cells/MyClass.php``. If it is not found there, all namespaces will be scanned until it is found, searching within a ``Cells`` subdirectory of each namespace.
2525
::
2626

2727
<?= view_cell('MyClass::myMethod', ['param1' => 'value1', 'param2' => 'value2']); ?>

0 commit comments

Comments
 (0)