Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions cookbook/bundles/best_practices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,20 @@ following standardized instructions in your ``README.md`` file.
// app/AppKernel.php

// ...

public function registerBundles()
class AppKernel extends Kernel
{
$bundles = array(
public function registerBundles()
{
$bundles = array(
// ...

new <vendor>\<bundle-name>\<bundle-long-name>(),
);

// ...
return new <vendor>\<bundle-name>\<bundle-long-name>(),
);
}

// ...
}
```

Expand Down