public function get(string $oid): PolicyInformation
    {
        if (!$this->has($oid)) {
            throw new \LogicException("Not certificate policy by OID $oid.");
        }
        return $this->_policies[$oid];
    }
public function get(string $oid): PolicyInformation
    {
        if (!$this->has($oid)) {
            throw new \LogicException("Not certificate policy by OID $oid.");
        }
        return $this->_policies[$oid];
    }
public function get ( string $ oid ) : PolicyInformation { if ( ! $ this -> has ( $ oid ) ) { throw new \ LogicException ( "Not certificate policy by OID $oid." ) ; } return $ this -> _policies [ $ oid ] ; }
Get policy information by OID.

@param string $oid
@throws \LogicException
@return PolicyInformation
Get policy information by OID .