code: public function search($value, $strict = false)
      {
          foreach ($this->storage as &$storageValue) {
              if ($strict) {
                  if ($value === $storageValue[1]) {
                      return $storageValue[0];
                  }
              } else if ($value == $storageValue[1]) {
                  return $storageValue[0];
              }
          }
      }
docs: {@inheritDoc}