Permalink
Browse files

Bundle configuration and Post entity

  • Loading branch information...
drymek committed Mar 9, 2012
1 parent 8dc1844 commit 4a5b12440afddc5b55722de48592d5210d14f735
Showing with 21 additions and 0 deletions.
  1. +21 −0 bundles/SyliusBloggerBundle.rst
@@ -108,6 +108,27 @@ For "**ORM**" driver run the following command.
Usage guide
-----------
+Set your blogger bundle as a child of SyliusBloggerBundle. Add following lines to `MyAppSyliusBloggerBundel.php`:
+
+.. code-block:: php
+ public function getParent()
+ {
+ return 'SyliusBloggerBundle';
+ }
+
+
+Create Post class:
+
+.. code-block:: php
+ <?php
+ namespace MyApp\Sylius\BloggerBundle\Entity\Post;
+
+ use Sylius\Bundle\BloggerBundle\Entity\Post as BasePost;
+
+ class Post extends BasePost
+ {
+ }
+
Create PostType class:
.. code-block:: php

0 comments on commit 4a5b124

Please sign in to comment.