src/Graviton/SecurityBundle/Authentication/Strategies/MultiStrategy.php
public function apply(Request $request)
    {
        foreach ($this->strategies as $strategy) {
            $name = $strategy->apply($request);
            if ($strategy->stopPropagation()) {
                $this->roles = $strategy->getRoles();
                return $name;
            }
        }

        return false;
    }
public function apply(Request $request)
    {
        foreach ($this->strategies as $strategy) {
            $name = $strategy->apply($request);
            if ($strategy->stopPropagation()) {
                $this->roles = $strategy->getRoles();
                return $name;
            }
        }

        return false;
    }
public function apply ( Request $ request ) { foreach ( $ this -> strategies as $ strategy ) { $ name = $ strategy -> apply ( $ request ) ; if ( $ strategy -> stopPropagation ( ) ) { $ this -> roles = $ strategy -> getRoles ( ) ; return $ name ; } } return false ; }
Applies the defined strategies on the provided request.

@param Request $request request to handle

@return string
Applies the defined strategies on the provided request .