-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dmitriy Zayceff
committed
Aug 7, 2014
1 parent
5141628
commit ee949a5
Showing
63 changed files
with
1,300 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
TimeoutException | ||
------------------------------- | ||
|
||
.. include:: /api_en.desc/php/concurrent/TimeoutException.header.rst | ||
|
||
.. php:class:: php\\concurrent\\TimeoutException | ||
**extends**: :doc:`php\\lang\\JavaException </api_en/php/lang/JavaException>` | ||
|
||
|
||
Class TimeoutException | ||
|
||
|
||
|
||
.. include:: /api_en.desc/php/concurrent/TimeoutException.footer.rst | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
InterruptedException | ||
----------------------------- | ||
|
||
.. include:: /api_en.desc/php/lang/InterruptedException.header.rst | ||
|
||
.. php:class:: php\\lang\\InterruptedException | ||
**extends**: :doc:`php\\lang\\JavaException </api_en/php/lang/JavaException>` | ||
|
||
|
||
Class InterruptedException | ||
|
||
|
||
|
||
.. include:: /api_en.desc/php/lang/InterruptedException.footer.rst | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
Process | ||
---------------- | ||
|
||
.. include:: /api_en.desc/php/lang/Process.header.rst | ||
|
||
.. php:class:: php\\lang\\Process | ||
Class Process | ||
|
||
|
||
|
||
**Methods** | ||
|
||
---------- | ||
|
||
.. php:method:: __construct($commands, $directory = null) | ||
:param $commands: :doc:`array </api_en/.types/array>` | ||
:param $directory: :doc:`null </api_en/.types/null>`, :doc:`string </api_en/.types/string>`, :doc:`php\\io\\File </api_en/php/io/File>` | ||
|
||
.. php:method:: start() | ||
**throws** :doc:`php\\lang\\IllegalStateException </api_en/php/lang/IllegalStateException>` | ||
|
||
:returns: :doc:`php\\lang\\Process </api_en/php/lang/Process>` | ||
|
||
.. php:method:: startAndWait() | ||
Causes the current thread to wait, if necessary, until the | ||
process represented by this `Process` object has | ||
terminated. This method returns immediately if the subprocess | ||
has already terminated. If the subprocess has not yet | ||
terminated, the calling thread will be blocked until the | ||
subprocess exits. | ||
|
||
**throws** :doc:`php\\lang\\IllegalStateException </api_en/php/lang/IllegalStateException>` | ||
|
||
:returns: :doc:`php\\lang\\Process </api_en/php/lang/Process>` | ||
|
||
.. php:method:: getExitValue() | ||
Returns the exit value for the subprocess. | ||
|
||
**throws** :doc:`php\\lang\\IllegalStateException </api_en/php/lang/IllegalStateException>` | ||
|
||
:returns: :doc:`int </api_en/.types/int>`, :doc:`null </api_en/.types/null>` - null if process is working | ||
|
||
.. php:method:: destroy() | ||
Kills the subprocess. The subprocess represented by this | ||
`Process` object is forcibly terminated. | ||
|
||
**throws** :doc:`php\\lang\\IllegalStateException </api_en/php/lang/IllegalStateException>` | ||
|
||
|
||
.. php:method:: getInput() | ||
Returns the input stream connected to the normal output of the | ||
subprocess. The stream obtains data piped from the standard | ||
output of the process represented by this `Process` object. | ||
|
||
**throws** :doc:`php\\lang\\IllegalStateException </api_en/php/lang/IllegalStateException>` | ||
|
||
:returns: :doc:`php\\io\\Stream </api_en/php/io/Stream>` | ||
|
||
.. php:method:: getOutput() | ||
Returns the output stream connected to the normal input of the | ||
subprocess. Output to the stream is piped into the standard | ||
input of the process represented by this `Process` object. | ||
|
||
**throws** :doc:`php\\lang\\IllegalStateException </api_en/php/lang/IllegalStateException>` | ||
|
||
:returns: :doc:`php\\io\\Stream </api_en/php/io/Stream>` | ||
|
||
.. php:method:: getError() | ||
Returns the input stream connected to the error output of the | ||
subprocess. The stream obtains data piped from the error output | ||
of the process represented by this `Process` object. | ||
|
||
**throws** :doc:`php\\lang\\IllegalStateException </api_en/php/lang/IllegalStateException>` | ||
|
||
:returns: :doc:`php\\io\\Stream </api_en/php/io/Stream>` | ||
|
||
|
||
|
||
.. include:: /api_en.desc/php/lang/Process.footer.rst | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
SettersGetters | ||
----------------------- | ||
|
||
.. include:: /api_en.desc/php/lang/SettersGetters.header.rst | ||
|
||
.. php:class:: php\\lang\\SettersGetters | ||
To implement a property with a setter and getter, define the following methods:: | ||
protected __set[prop_name]($value) // for setter (or not if you want to implement a read-only property) | ||
protected __get[prop_name]() // for getter | ||
|
||
Class Properties | ||
|
||
|
||
|
||
**Methods** | ||
|
||
---------- | ||
|
||
.. php:method:: __set($name, $value) | ||
:param $name: | ||
:param $value: | ||
|
||
.. php:method:: __get($name) | ||
:param $name: | ||
:returns: :doc:`mixed </api_en/.types/mixed>` | ||
|
||
.. php:method:: __isset($name) | ||
:param $name: | ||
|
||
.. php:method:: __unset($name) | ||
:param $name: | ||
|
||
|
||
|
||
.. include:: /api_en.desc/php/lang/SettersGetters.footer.rst | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.