<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.stream.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'function.stream-bucket-make-writeable.php',
    1 => 'stream_bucket_make_writeable',
    2 => 'Retorna um objeto bucket da brigada para se operar sobre ele',
  ),
  'up' => 
  array (
    0 => 'ref.stream.php',
    1 => 'Fun&ccedil;&otilde;es de Fluxo',
  ),
  'prev' => 
  array (
    0 => 'function.stream-bucket-append.php',
    1 => 'stream_bucket_append',
  ),
  'next' => 
  array (
    0 => 'function.stream-bucket-new.php',
    1 => 'stream_bucket_new',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'pt_BR',
    'path' => 'reference/stream/functions/stream-bucket-make-writeable.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.stream-bucket-make-writeable" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">stream_bucket_make_writeable</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">stream_bucket_make_writeable</span> &mdash; <span class="dc-title">
   Retorna um objeto bucket da brigada para se operar sobre ele
  </span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.stream-bucket-make-writeable-description">
  <h3 class="title">Descrição</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>stream_bucket_make_writeable</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$brigade</code></span>): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type">StreamBucket</span></span></div>

  <p class="para rdfs-comment">
   Esta função é chamada sempre que existir a necessidade de acessar e operar no conteúdo de uma brigada. É
   tipicamente chamada por <span class="methodname"><a href="php-user-filter.filter.php" class="methodname">php_user_filter::filter()</a></span>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.stream-bucket-make-writeable-parameters">
  <h3 class="title">Parâmetros</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">brigade</code></dt>
     <dd>
      <p class="para">
       A brigada da qual se retornará o objeto bucket.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.stream-bucket-make-writeable-returnvalues">
  <h3 class="title">Valor Retornado</h3>
  <p class="para">
   Retorna um objeto bucket ou <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.stream-bucket-make-writeable-changelog">
  <h3 class="title">Registro de Alterações</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Versão</th>
      <th>Descrição</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.4.0</td>
      <td>Esta função agora retorna uma instância de <span class="classname"><strong class="classname">StreamBucket</strong></span>; anteriormente, retornava um <span class="classname"><a href="class.stdclass.php" class="classname">stdClass</a></span>.</td>
     </tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.stream-bucket-make-writeable-seealso">
  <h3 class="title">Veja Também</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.stream-bucket-append.php" class="function" rel="rdfs-seeAlso">stream_bucket_append()</a> - Anexa o bucket &agrave; brigada</span></li>
    <li><span class="function"><a href="function.stream-bucket-prepend.php" class="function" rel="rdfs-seeAlso">stream_bucket_prepend()</a> - Adiciona um bucket ao in&iacute;cio da brigada</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>