protected function getFirstFromProviders(callable $callable, $default = null)
    {
        $values = array_filter(array_map($callable, $this->providers));

        return empty($values) ? $default : current($values);
    }
protected function getFirstFromProviders(callable $callable, $default = null)
    {
        $values = array_filter(array_map($callable, $this->providers));

        return empty($values) ? $default : current($values);
    }
protected function getFirstFromProviders ( callable $ callable , $ default = null ) { $ values = array_filter ( array_map ( $ callable , $ this -> providers ) ) ; return empty ( $ values ) ? $ default : current ( $ values ) ; }
Returns the first value of the providers

@param callable $callable
@param string|null $default

@return string|null
Returns the first value of the providers