<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/mongodb.bson.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'class.mongodb-bson-objectidinterface.php',
    1 => 'MongoDB\\BSON\\ObjectIdInterface',
    2 => 'The MongoDB\\BSON\\ObjectIdInterface interface',
  ),
  'up' => 
  array (
    0 => 'mongodb.bson.php',
    1 => 'MongoDB\\BSON',
  ),
  'prev' => 
  array (
    0 => 'class.mongodb-bson-minkeyinterface.php',
    1 => 'MongoDB\\BSON\\MinKeyInterface',
  ),
  'next' => 
  array (
    0 => 'mongodb-bson-objectidinterface.gettimestamp.php',
    1 => 'MongoDB\\BSON\\ObjectIdInterface::getTimestamp',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mongodb/bson/objectidinterface.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.mongodb-bson-objectidinterface.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.mongodb-bson-objectidinterface" class="reference">

 <h1 class="title">The MongoDB\BSON\ObjectIdInterface interface</h1>
 

 <div class="partintro"><p class="verinfo">(mongodb &gt;=1.3.0)</p>
  <div class="section" id="mongodb-bson-objectidinterface.intro">
   <h2 class="title">Einführung</h2>
   <p class="simpara">
    This interface is implemented by
    <span class="classname"><a href="class.mongodb-bson-objectid.php" class="classname">MongoDB\BSON\ObjectId</a></span> to be used as a parameter,
    return, or property type in userland classes.
   </p>
  </div>

  <div class="section" id="mongodb-bson-objectidinterface.synopsis">
   <h2 class="title">Klassenbeschreibung</h2>
   <div class="classsynopsis">
    <span class="ooclass"><strong class="classname"></strong></span>
    <div class="classsynopsisinfo">
     <span class="ooclass">
      <span class="modifier">class</span> <strong class="classname">MongoDB\BSON\ObjectIdInterface</strong>
     </span>
     {</div>
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methoden */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">abstract</span> <span class="modifier">public</span> <span class="methodname"><a href="mongodb-bson-objectidinterface.gettimestamp.php" class="methodname">getTimestamp</a></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">abstract</span> <span class="modifier">public</span> <span class="methodname"><a href="mongodb-bson-objectidinterface.tostring.php" class="methodname">__toString</a></span>(): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

   }</div>
  </div>

  <div class="section">
   <h2 class="title">Changelog</h2>
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Beschreibung</th>
      </tr>

     </thead>

     <tbody class="tbody">
      
       <tr>
        <td>PECL mongodb 2.0.0</td>
        <td>
         Rückgabetypen, die zuvor als vorläufig deklariert waren, werden nun erzwungen.
        </td>
       </tr>


      
       <tr>
        <td>PECL mongodb 1.15.0</td>
        <td>
         Rückgabetypen für Methoden werden in PHP 8.0 und neuer als vorläufig
         deklariert, was in Code, der diese Schnittstelle implementiert, ohne
         die entsprechenden Rückgabetypen zu deklarieren, einen Hinweis auf eine
         veraltete Verwendung auslöst. Um diesen Hinweis zu unterdrücken, kann
         das Attribut <code class="code">#[ReturnTypeWillChange]</code> hinzugefügt werden.
        </td>
       </tr>


     </tbody>
    
   </table>

  </div>
 </div>

 














<h2>Inhaltsverzeichnis</h2><ul class="chunklist chunklist_reference"><li><a href="mongodb-bson-objectidinterface.gettimestamp.php">MongoDB\BSON\ObjectIdInterface::getTimestamp</a> — Returns the timestamp component of this ObjectIdInterface</li><li><a href="mongodb-bson-objectidinterface.tostring.php">MongoDB\BSON\ObjectIdInterface::__toString</a> — Returns the hexidecimal representation of this ObjectIdInterface</li></ul>
</div>
<?php manual_footer($setup); ?>