src/AbstractNetwork.php 1 location
|
@@ 58-64 (lines=7) @@
|
| 55 |
|
* |
| 56 |
|
* @return mixed |
| 57 |
|
*/ |
| 58 |
|
public function invokeProperty(&$object,$propertyName) |
| 59 |
|
{ |
| 60 |
|
$reflection = new \ReflectionClass(get_class($object)); |
| 61 |
|
$property = $reflection->getProperty($propertyName); |
| 62 |
|
$property->setAccessible(true); |
| 63 |
|
return $property->getValue($object); |
| 64 |
|
} |
| 65 |
|
|
| 66 |
|
} |
| 67 |
|
|
src/NetAffiliationEx.php 1 location
|
@@ 39-45 (lines=7) @@
|
| 36 |
|
* |
| 37 |
|
* @return mixed |
| 38 |
|
*/ |
| 39 |
|
public function invokeProperty(&$object,$propertyName) |
| 40 |
|
{ |
| 41 |
|
$reflection = new \ReflectionClass(get_class($object)); |
| 42 |
|
$property = $reflection->getProperty($propertyName); |
| 43 |
|
$property->setAccessible(true); |
| 44 |
|
return $property->getValue($object); |
| 45 |
|
} |
| 46 |
|
|
| 47 |
|
/** |
| 48 |
|
* @param $credentials |
src/ZanoxEx.php 1 location
|
@@ 36-42 (lines=7) @@
|
| 33 |
|
* |
| 34 |
|
* @return mixed |
| 35 |
|
*/ |
| 36 |
|
public function invokeProperty(&$object,$propertyName) |
| 37 |
|
{ |
| 38 |
|
$reflection = new \ReflectionClass(get_class($object)); |
| 39 |
|
$property = $reflection->getProperty($propertyName); |
| 40 |
|
$property->setAccessible(true); |
| 41 |
|
return $property->getValue($object); |
| 42 |
|
} |
| 43 |
|
/** |
| 44 |
|
* get Sales updated/created on the date passed |
| 45 |
|
* @param $date |