public function apply(Request $request, $configurations)
    {
        if (\is_object($configurations)) {
            $configurations = [$configurations];
        }

        foreach ($configurations as $configuration) {
            $this->applyConverter($request, $configuration);
        }
    }
public function apply(Request $request, $configurations)
    {
        if (\is_object($configurations)) {
            $configurations = [$configurations];
        }

        foreach ($configurations as $configuration) {
            $this->applyConverter($request, $configuration);
        }
    }
public function apply ( Request $ request , $ configurations ) { if ( \ is_object ( $ configurations ) ) { $ configurations = [ $ configurations ] ; } foreach ( $ configurations as $ configuration ) { $ this -> applyConverter ( $ request , $ configuration ) ; } }
Applies all converters to the passed configurations and stops when a
converter is applied it will move on to the next configuration and so on.

@param array|object $configurations
Applies all converters to the passed configurations and stops when a converter is applied it will move on to the next configuration and so on .