<?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-binaryinterface.php',
    1 => 'MongoDB\\BSON\\BinaryInterface',
    2 => 'The MongoDB\\BSON\\BinaryInterface interface',
  ),
  'up' => 
  array (
    0 => 'mongodb.bson.php',
    1 => 'MongoDB\\BSON',
  ),
  'prev' => 
  array (
    0 => 'mongodb-bson-unserializable.bsonunserialize.php',
    1 => 'MongoDB\\BSON\\Unserializable::bsonUnserialize',
  ),
  'next' => 
  array (
    0 => 'mongodb-bson-binaryinterface.getdata.php',
    1 => 'MongoDB\\BSON\\BinaryInterface::getData',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mongodb/bson/binaryinterface.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.mongodb-bson-binaryinterface.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-binaryinterface" class="reference">

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

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

  <div class="section" id="mongodb-bson-binaryinterface.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\BinaryInterface</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-binaryinterface.getdata.php" class="methodname">getData</a></span>(): <span class="type"><a href="language.types.string.php" class="type string">string</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-binaryinterface.gettype.php" class="methodname">getType</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-binaryinterface.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-binaryinterface.getdata.php">MongoDB\BSON\BinaryInterface::getData</a> — Returns the BinaryInterface's data</li><li><a href="mongodb-bson-binaryinterface.gettype.php">MongoDB\BSON\BinaryInterface::getType</a> — Returns the BinaryInterface's type</li><li><a href="mongodb-bson-binaryinterface.tostring.php">MongoDB\BSON\BinaryInterface::__toString</a> — Returns the BinaryInterface's data</li></ul>
</div>
<?php manual_footer($setup); ?>