lib/Accessible/Reader/AutoConstructReader.php
public static function getConstructArguments($objectClasses, $annotationReader)
    {
        $constructArguments = null;
        array_reverse($objectClasses);

        foreach ($objectClasses as $class) {
            $annotation = $annotationReader->getClassAnnotation($class, self::$constructAnnotationClass);
            if ($annotation !== null) {
                $constructArguments = $annotation->getArguments();
                break;
            }
        }

        return $constructArguments;
    }
public static function getConstructArguments($objectClasses, $annotationReader)
    {
        $constructArguments = null;
        array_reverse($objectClasses);

        foreach ($objectClasses as $class) {
            $annotation = $annotationReader->getClassAnnotation($class, self::$constructAnnotationClass);
            if ($annotation !== null) {
                $constructArguments = $annotation->getArguments();
                break;
            }
        }

        return $constructArguments;
    }
public static function getConstructArguments ( $ objectClasses , $ annotationReader ) { $ constructArguments = null ; array_reverse ( $ objectClasses ) ; foreach ( $ objectClasses as $ class ) { $ annotation = $ annotationReader -> getClassAnnotation ( $ class , self :: $ constructAnnotationClass ) ; if ( $ annotation !== null ) { $ constructArguments = $ annotation -> getArguments ( ) ; break ; } } return $ constructArguments ; }
Get the list of needed arguments for given object's constructor.

@param array  $objectClasses The classes of the object to read.
@param \Doctrine\Common\Annotations\Reader $annotationReader The annotation reader to use.

@return array The list of arguments.
Get the list of needed arguments for given object s constructor .