protected function getSkeletonDirs(BundleInterface $bundle = null)
    {
        $baseSkeletonDirs = parent::getSkeletonDirs($bundle);
        $skeletonDirs = array();

        if (is_dir($dir = $this->getContainer()->get('kernel')->getRootdir().'/Resources/MultiUserBundleMultiUserBundle/skeleton')) {
            $skeletonDirs[] = $dir;
        }

        $reflClass = new \ReflectionClass($this);
        $dir = dirname($reflClass->getFileName());

        $skeletonDirs[] = $dir.'/../Resources/skeleton';
        $skeletonDirs[] = $dir.'/../Resources';

        return array_merge($skeletonDirs, $baseSkeletonDirs);
    }
protected function getSkeletonDirs(BundleInterface $bundle = null)
    {
        $baseSkeletonDirs = parent::getSkeletonDirs($bundle);
        $skeletonDirs = array();

        if (is_dir($dir = $this->getContainer()->get('kernel')->getRootdir().'/Resources/MultiUserBundleMultiUserBundle/skeleton')) {
            $skeletonDirs[] = $dir;
        }

        $reflClass = new \ReflectionClass($this);
        $dir = dirname($reflClass->getFileName());

        $skeletonDirs[] = $dir.'/../Resources/skeleton';
        $skeletonDirs[] = $dir.'/../Resources';

        return array_merge($skeletonDirs, $baseSkeletonDirs);
    }
protected function getSkeletonDirs ( BundleInterface $ bundle = null ) { $ baseSkeletonDirs = parent :: getSkeletonDirs ( $ bundle ) ; $ skeletonDirs = array ( ) ; if ( is_dir ( $ dir = $ this -> getContainer ( ) -> get ( 'kernel' ) -> getRootdir ( ) . '/Resources/MultiUserBundleMultiUserBundle/skeleton' ) ) { $ skeletonDirs [ ] = $ dir ; } $ reflClass = new \ ReflectionClass ( $ this ) ; $ dir = dirname ( $ reflClass -> getFileName ( ) ) ; $ skeletonDirs [ ] = $ dir . '/../Resources/skeleton' ; $ skeletonDirs [ ] = $ dir . '/../Resources' ; return array_merge ( $ skeletonDirs , $ baseSkeletonDirs ) ; }
add this bundle skeleton dirs to the beginning of the parent skeletonDirs array.

@param BundleInterface $bundle

@return string[]
add this bundle skeleton dirs to the beginning of the parent skeletonDirs array .