Skip to content

Commit

Permalink
Remove confusing example.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 20, 2012
1 parent 6de64c8 commit 9dfe673
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions en/controllers/components.rst
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,6 @@ way you include them in controllers - using the ``$components`` var::
App::uses('Component', 'Controller');
class ExistingComponent extends Component {

public function initialize(Controller $controller) {
$this->Parent->bar();
}

public function foo() {
// ...
}
Expand Down

0 comments on commit 9dfe673

Please sign in to comment.