src/Contao/View/Contao2BackendView/Filter/LanguageFilter.php
private function modelIdFromInput(InputProviderInterface $inputProvider)
    {
        if ($inputProvider->hasParameter('id') && $inputProvider->getParameter('id')) {
            return ModelId::fromSerialized($inputProvider->getParameter('id'))->getId();
        }

        return null;
    }
private function modelIdFromInput(InputProviderInterface $inputProvider)
    {
        if ($inputProvider->hasParameter('id') && $inputProvider->getParameter('id')) {
            return ModelId::fromSerialized($inputProvider->getParameter('id'))->getId();
        }

        return null;
    }
private function modelIdFromInput ( InputProviderInterface $ inputProvider ) { if ( $ inputProvider -> hasParameter ( 'id' ) && $ inputProvider -> getParameter ( 'id' ) ) { return ModelId :: fromSerialized ( $ inputProvider -> getParameter ( 'id' ) ) -> getId ( ) ; } return null ; }
Obtain the model id from the input provider.

@param InputProviderInterface $inputProvider The input provider.

@return mixed|null
Obtain the model id from the input provider .