<?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 => 'fr',
  ),
  'this' => 
  array (
    0 => 'class.mongodb-bson-timestampinterface.php',
    1 => 'MongoDB\\BSON\\TimestampInterface',
    2 => 'L\'interface MongoDB\\BSON\\TimestampInterface',
  ),
  'up' => 
  array (
    0 => 'mongodb.bson.php',
    1 => 'MongoDB\\BSON',
  ),
  'prev' => 
  array (
    0 => 'mongodb-bson-regexinterface.tostring.php',
    1 => 'MongoDB\\BSON\\RegexInterface::__toString',
  ),
  'next' => 
  array (
    0 => 'mongodb-bson-timestampinterface.getincrement.php',
    1 => 'MongoDB\\BSON\\TimestampInterface::getIncrement',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/mongodb/bson/timestampinterface.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.mongodb-bson-timestampinterface.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-timestampinterface" class="reference">

 <h1 class="title">L&#039;interface MongoDB\BSON\TimestampInterface</h1>
 

 <div class="partintro"><p class="verinfo">(mongodb &gt;=1.3.0)</p>
  <div class="section" id="mongodb-bson-timestampinterface.intro">
   <h2 class="title">Introduction</h2>
   <p class="simpara">
    Cette interface est implémentée par <span class="classname"><a href="class.mongodb-bson-timestamp.php" class="classname">MongoDB\BSON\Timestamp</a></span> pour être utilisée comme type de paramètre,
    de retour ou de propriété dans les classes utilisateurs.
   </p>
  </div>

  <div class="section" id="mongodb-bson-timestampinterface.synopsis">
   <h2 class="title">Synopsis de la classe</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\TimestampInterface</strong>
     </span>
     {</div>
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Méthodes */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">abstract</span> <span class="modifier">public</span> <span class="methodname"><a href="mongodb-bson-timestampinterface.getincrement.php" class="methodname">getIncrement</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-timestampinterface.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-timestampinterface.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">Historique</h2>
   <table class="doctable informaltable">
     
      <thead>
       <tr>
        <th>Version</th>
        <th>Description</th>
       </tr>

      </thead>

      <tbody class="tbody">
       
    <tr>
        <td>PECL mongodb 2.0.0</td>
        <td>
            Les types de retour précédemment déclarés comme provisoires sont désormais appliqués.
        </td>
    </tr>


       
<tr>
  <td>PECL mongodb 1.15.0</td>
  <td>
    Les types de retours des méthodes sont déclarés comme provisoires en PHP 8.0 et ultérieur,
    ce qui déclenche des avis de dépréciation dans le code qui implémente cette interface sans déclarer
    les types de retours appropriés.
    L&#039;attribut <code class="code">#[ReturnTypeWillChange]</code> peut être ajouté
    pour ignorer la notice de dépréciation.
  </td>
</tr>


      </tbody>
     
    </table>

  </div>
 </div>

 



























<h2>Sommaire</h2><ul class="chunklist chunklist_reference"><li><a href="mongodb-bson-timestampinterface.getincrement.php">MongoDB\BSON\TimestampInterface::getIncrement</a> — Retourne le composant d'incr&eacute;mentation de ce TimestampInterface</li><li><a href="mongodb-bson-timestampinterface.gettimestamp.php">MongoDB\BSON\TimestampInterface::getTimestamp</a> — Retourne le composant d'horodatage de TimestampInterface</li><li><a href="mongodb-bson-timestampinterface.tostring.php">MongoDB\BSON\TimestampInterface::__toString</a> — Retourne la repr&eacute;sentation sous forme de cha&icirc;ne de caract&egrave;res de TimestampInterface</li></ul>
</div>
<?php manual_footer($setup); ?>