Bug #11338

Wrong code in getting started tutorial

Added by Stefano Kowalke over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-12-08
Due date:
% Done:

0%

Estimated time:

Description

In Chapter 8. Controller there is wrong/old code inside SetupController class.

The example shows

$blog = $this->objectFactory->create('F3\Blog\Domain\Model\Blog');

but this property doesn't exist. The current way is to use
$blog = $this->objectManager->create('F3\Blog\Domain\Model\Blog'); 

I found this error in the example of the GettingStarted package (in Private/CheatSheet/code) too.

#1

Updated by Robert Lemke almost 11 years ago

  • Status changed from New to Closed

Also available in: Atom PDF