To begin, add the dependent bundles:

首先,添加功能包依赖:

php composer.phar require sonata-project/easy-extends-bundle

Next, be sure to enable the new bundles in your application kernel:

接下来,在您的应用程序内核启用该功能包:

<?php

// app/appkernel.php

public function registerBundles(){

   return array(

       // ...

       newSonata\EasyExtendsBundle\SonataEasyExtendsBundle(),

       // ...

   );

}