Command/AbstractCommand.php
protected function getFinalSchemas(KernelInterface $kernel, BundleInterface $bundle = null)
    {
        if (null !== $bundle) {
            return $this->getSchemasFromBundle($bundle);
        }

        $finalSchemas = array();
        foreach ($kernel->getBundles() as $bundle) {
            $finalSchemas = array_merge($finalSchemas, $this->getSchemasFromBundle($bundle));
        }

        return $finalSchemas;
    }
protected function getFinalSchemas(KernelInterface $kernel, BundleInterface $bundle = null)
    {
        if (null !== $bundle) {
            return $this->getSchemasFromBundle($bundle);
        }

        $finalSchemas = array();
        foreach ($kernel->getBundles() as $bundle) {
            $finalSchemas = array_merge($finalSchemas, $this->getSchemasFromBundle($bundle));
        }

        return $finalSchemas;
    }
protected function getFinalSchemas ( KernelInterface $ kernel , BundleInterface $ bundle = null ) { if ( null !== $ bundle ) { return $ this -> getSchemasFromBundle ( $ bundle ) ; } $ finalSchemas = array ( ) ; foreach ( $ kernel -> getBundles ( ) as $ bundle ) { $ finalSchemas = array_merge ( $ finalSchemas , $ this -> getSchemasFromBundle ( $ bundle ) ) ; } return $ finalSchemas ; }
Return a list of final schema files that will be processed.

@param \Symfony\Component\HttpKernel\KernelInterface $kernel

@return array
Return a list of final schema files that will be processed .