mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
__construct readability
This commit is contained in:
@@ -173,7 +173,7 @@ class parseCSV {
|
|||||||
* @param input CSV file or string
|
* @param input CSV file or string
|
||||||
* @return nothing
|
* @return nothing
|
||||||
*/
|
*/
|
||||||
function parseCSV ($input = null, $offset = null, $limit = null, $conditions = null) {
|
public function __construct ($input = null, $offset = null, $limit = null, $conditions = null) {
|
||||||
if ($offset!==null) {
|
if ($offset!==null) {
|
||||||
$this->offset = $offset;
|
$this->offset = $offset;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user