Package fr.adrienbrault.idea.symfony2plugin.util.dict

Examples of fr.adrienbrault.idea.symfony2plugin.util.dict.DoctrineModel



        DoctrineModelProviderParameter containerLoaderExtensionParameter = new DoctrineModelProviderParameter(project, new ArrayList<DoctrineModelProviderParameter.DoctrineModel>());
        for(DoctrineModelProvider provider : EntityHelper.MODEL_POINT_NAME.getExtensions()) {
            for(DoctrineModelProviderParameter.DoctrineModel doctrineModel: provider.collectModels(containerLoaderExtensionParameter)) {
                doctrineModels.add(new DoctrineModel(doctrineModel.getPhpClass(), doctrineModel.getName()));
            }
        }

        return doctrineModels;
    }
View Full Code Here


        for (Map.Entry<String, String> entry : shortcutNames.entrySet()) {

            Collection<PhpClass> phpClasses = PhpIndexUtil.getPhpClassInsideNamespace(repositoryInterface.getProject(), entry.getValue());
            for(PhpClass phpClass: phpClasses) {
                if(isEntity(phpClass, repositoryInterface)) {
                    models.add(new DoctrineModel(phpClass, entry.getKey(), entry.getValue()));
                }
            }

        }
View Full Code Here

TOP

Related Classes of fr.adrienbrault.idea.symfony2plugin.util.dict.DoctrineModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.