We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01ca366 + 0cbe3e3 commit fc29a8bCopy full SHA for fc29a8b
src/pages/development/components/factories.md
@@ -76,7 +76,7 @@ You can get the singleton instance of a factory for a specific model using [depe
76
The following example shows a class getting the `BlockFactory` instance through the constructor:
77
78
```php
79
-function __construct ( \Magento\Cms\Model\BlockFactory $blockFactory) {
+public function __construct ( \Magento\Cms\Model\BlockFactory $blockFactory) {
80
$this->blockFactory = $blockFactory;
81
}
82
```
0 commit comments