protected function getParentClasses($className)
    {
        $parents = array();

        foreach (array_reverse(class_parents($className)) as $class) {
            if ($this->driver->isService($class)) {
                $parents[] = $class;
            }
        }

        return $parents;
    }
protected function getParentClasses($className)
    {
        $parents = array();

        foreach (array_reverse(class_parents($className)) as $class) {
            if ($this->driver->isService($class)) {
                $parents[] = $class;
            }
        }

        return $parents;
    }
protected function getParentClasses ( $ className ) { $ parents = array ( ) ; foreach ( array_reverse ( class_parents ( $ className ) ) as $ class ) { if ( $ this -> driver -> isService ( $ class ) ) { $ parents [ ] = $ class ; } } return $ parents ; }
Returns the list of parent service classes for the specified class.

@param  string $className
@return array
Returns the list of parent service classes for the specified class .