src/LightSaml/Resolver/Endpoint/Criteria/BindingCriteria.php
public function getPreference($binding)
    {
        return isset($this->bindings[$binding]) ? $this->bindings[$binding] : null;
    }
public function getPreference($binding)
    {
        return isset($this->bindings[$binding]) ? $this->bindings[$binding] : null;
    }
@param $binding

@return int|null Preference of a binding or null if not preferred