public function getSingle($identifier, $default = null)
    {
        $get = $this->get($identifier, $default);
        if (is_array($get)) {
            return array_values($this->identifiers[$identifier])[0];
        }

        return $get;
    }
public function getSingle($identifier, $default = null)
    {
        $get = $this->get($identifier, $default);
        if (is_array($get)) {
            return array_values($this->identifiers[$identifier])[0];
        }

        return $get;
    }
public function getSingle ( $ identifier , $ default = null ) { $ get = $ this -> get ( $ identifier , $ default ) ; if ( is_array ( $ get ) ) { return array_values ( $ this -> identifiers [ $ identifier ] ) [ 0 ] ; } return $ get ; }
Returns a single item bound to the given identifier, or the default if
the identifier is not bound.

@param string $identifier
@param mixed  $default    A value to return if the identifier is not bound.

@return mixed
Returns a single item bound to the given identifier or the default if the identifier is not bound .