Skip to content

Commit bef8b88

Browse files
author
Your Name
committed
extra
1 parent db07d9f commit bef8b88

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

SimplePDOQueryBuilder.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ class SimplePDOQueryBuilder
5757
*/
5858
protected $sortOrder;
5959

60+
/**
61+
* @var array
62+
*/
63+
protected $extra = [];
64+
6065
/**
6166
* @var array
6267
*/
@@ -348,4 +353,20 @@ public function dump()
348353
}
349354
die("<pre>" . $sql . "</pre>");
350355
}
356+
357+
/**
358+
* @return array
359+
*/
360+
public function getExtra()
361+
{
362+
return $this->extra;
363+
}
364+
365+
/**
366+
* @param array $extra
367+
*/
368+
public function setExtra($extra)
369+
{
370+
$this->extra = $extra;
371+
}
351372
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"target-dir": "Megawilddaddy/SimplePDOQueryBuilder",
1919
"require": {
20-
"php": ">=5.3.3",
20+
"php": ">=5.4",
2121
"ext-pdo": "*"
2222
},
2323
"minimum-stability": "dev"

0 commit comments

Comments
 (0)