Edit File by line
/home/barbar84/www/wp-conte.../plugins/worker/src/MWP/Stream
File: Interface.php
<?php
[0] Fix | Delete
/*
[1] Fix | Delete
* This file is part of the ManageWP Worker plugin.
[2] Fix | Delete
*
[3] Fix | Delete
* (c) ManageWP LLC <contact@managewp.com>
[4] Fix | Delete
*
[5] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[6] Fix | Delete
* file that was distributed with this source code.
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
interface MWP_Stream_Interface
[10] Fix | Delete
{
[11] Fix | Delete
/**
[12] Fix | Delete
* Closes the stream and any underlying resources.
[13] Fix | Delete
*/
[14] Fix | Delete
public function close();
[15] Fix | Delete
[16] Fix | Delete
/**
[17] Fix | Delete
* Returns the current position of the file read/write pointer
[18] Fix | Delete
*
[19] Fix | Delete
* @return int|bool Returns the position of the file pointer or false on error
[20] Fix | Delete
*/
[21] Fix | Delete
public function tell();
[22] Fix | Delete
[23] Fix | Delete
/**
[24] Fix | Delete
* @return bool
[25] Fix | Delete
*/
[26] Fix | Delete
public function isSeekable();
[27] Fix | Delete
[28] Fix | Delete
/**
[29] Fix | Delete
* @param int $offset
[30] Fix | Delete
* @param int $whence
[31] Fix | Delete
*
[32] Fix | Delete
* @return bool
[33] Fix | Delete
*/
[34] Fix | Delete
public function seek($offset, $whence = SEEK_SET);
[35] Fix | Delete
[36] Fix | Delete
/**
[37] Fix | Delete
* Returns true if the stream is at the end of the stream.
[38] Fix | Delete
*
[39] Fix | Delete
* @return bool
[40] Fix | Delete
*/
[41] Fix | Delete
public function eof();
[42] Fix | Delete
[43] Fix | Delete
/**
[44] Fix | Delete
* Read data from the stream
[45] Fix | Delete
*
[46] Fix | Delete
* @param int $length Read up to $length bytes from the object and return
[47] Fix | Delete
* them. Fewer than $length bytes may be returned if
[48] Fix | Delete
* underlying stream call returns fewer bytes.
[49] Fix | Delete
*
[50] Fix | Delete
* @return string Returns the data read from the stream.
[51] Fix | Delete
*/
[52] Fix | Delete
public function read($length);
[53] Fix | Delete
}
[54] Fix | Delete
[55] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function