Package com.dubture.symfony.core.goals.evaluator

Examples of com.dubture.symfony.core.goals.evaluator.ServiceGoalEvaluator


        // PHPClassType classType = (PHPClassType) context.getInstanceType();
        if (goalClass == MethodElementReturnTypeGoal.class) {
          MethodElementReturnTypeGoal g = (MethodElementReturnTypeGoal) goal;
          if (g.getArgNames() != null && g.getArgNames().length > 0 && g.getArgNames()[0] != null) {
            if (g.getMethodName().equals("get")) {
              return new ServiceGoalEvaluator(g, ASTUtils.stripQuotes(g.getArgNames()[0]));
            } else if (g.getMethodName().equals("getManager")) {
              return new DoctrineManagerGoalEvaluator(g, ASTUtils.stripQuotes(g.getArgNames()[0]));
            }
          }
        } else if (goalClass == ServiceTypeGoal.class) {
View Full Code Here

TOP

Related Classes of com.dubture.symfony.core.goals.evaluator.ServiceGoalEvaluator

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.