svn: /phpdoc/pt_BR/trunk/reference/ ds/ds/stack/count.xml ds/ds/stack/peek.xml swoole/swoole/http/server/on.xml
[email protected] (André Luis Ferreira da Silva Bacci)
| Newsgroups | php.doc.pt-br |
|---|---|
| Message-ID | <[email protected]> |
ae Sat, 27 Apr 2019 14:35:16 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=347349
Log:
Translations by @rafaelbernard - https://github.com/phpdocbrbridge/traducao/pull/77
Changed paths:
A phpdoc/pt_BR/trunk/reference/ds/
A phpdoc/pt_BR/trunk/reference/ds/ds/
A phpdoc/pt_BR/trunk/reference/ds/ds/stack/
A phpdoc/pt_BR/trunk/reference/ds/ds/stack/count.xml
A phpdoc/pt_BR/trunk/reference/ds/ds/stack/peek.xml
A phpdoc/pt_BR/trunk/reference/swoole/swoole/http/server/on.xml
Added: phpdoc/pt_BR/trunk/reference/ds/ds/stack/count.xml
===================================================================
--- phpdoc/pt_BR/trunk/reference/ds/ds/stack/count.xml (rev 0)
+++ phpdoc/pt_BR/trunk/reference/ds/ds/stack/count.xml 2019-04-27 14:35:16 UTC (rev 347349)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 343888 Maintainer: @rafaelbernard Status: ready $ -->
+
+<refentry xml:id="ds-stack.count" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>Ds\Stack::count</refname>
+ <refpurpose>Retorna o número de valores na pilha</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ <para>
+ Veja <function>Countable::count</function>
+ </para>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Added: phpdoc/pt_BR/trunk/reference/ds/ds/stack/peek.xml
===================================================================
--- phpdoc/pt_BR/trunk/reference/ds/ds/stack/peek.xml (rev 0)
+++ phpdoc/pt_BR/trunk/reference/ds/ds/stack/peek.xml 2019-04-27 14:35:16 UTC (rev 347349)
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 343888 Maintainer: @rafaelbernard Status: ready $ -->
+
+<refentry xml:id="ds-stack.peek" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>Ds\Stack::peek</refname>
+ <refpurpose>Retorna o valor no topo da pilha</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier> <type>mixed</type><methodname>Ds\Stack::peek</methodname>
+ <void />
+ </methodsynopsis>
+ <para>
+ Retorna o valor no topo da pilha, mas não o remove.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ O valor no topo da pilha.
+ </para>
+ </refsect1>
+
+ <refsect1 role="errors">
+ &reftitle.errors;
+ <para>
+ <classname>UnderflowException</classname> se vazio.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <example>
+ <title>Exemplo <function>Ds\Stack::peek</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$stack = new \Ds\Stack();
+
+$stack->push("a");
+$stack->push("b");
+$stack->push("c");
+
+var_dump($stack->peek());
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+string(1) "c"
+]]>
+ </screen>
+ </example>
+ </refsect1>
+
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Added: phpdoc/pt_BR/trunk/reference/swoole/swoole/http/server/on.xml
===================================================================
--- phpdoc/pt_BR/trunk/reference/swoole/swoole/http/server/on.xml (rev 0)
+++ phpdoc/pt_BR/trunk/reference/swoole/swoole/http/server/on.xml 2019-04-27 14:35:16 UTC (rev 347349)
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- EN-Revision: 344522 Maintainer: @rafaelbernard Status: ready $ -->
+
+<refentry xml:id="swoole-http-server.on" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>Swoole\Http\Server::on</refname>
+ <refpurpose>Vincula a função de retorno (callback) ao servidor HTTP pelo nome do evento.</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier> <type>void</type><methodname>Swoole\Http\Server::on</methodname>
+ <methodparam><type>string</type><parameter>event_name</parameter></methodparam>
+ <methodparam><type>callable</type><parameter>callback</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Vincula a função de retorno (callback) ao servidor HTTP pelo nome do evento.
+ </para>
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>event_name</parameter></term>
+ <listitem>
+ <para>
+
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>callback</parameter></term>
+ <listitem>
+ <para>
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+
+ </para>
+ </refsect1>
+
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->