| @@ 60-63 (lines=4) @@ | ||
| 57 | ); |
|
| 58 | } |
|
| 59 | ||
| 60 | if (false == isset($this->$name)) |
|
| 61 | { |
|
| 62 | $this->$name = new $class($this->options, $this->client); |
|
| 63 | } |
|
| 64 | ||
| 65 | return $this->$name; |
|
| 66 | } |
|
| @@ 85-88 (lines=4) @@ | ||
| 82 | ||
| 83 | if (class_exists($class)) |
|
| 84 | { |
|
| 85 | if (false == isset($this->$name)) |
|
| 86 | { |
|
| 87 | $this->$name = new $class($this->options, $this->client); |
|
| 88 | } |
|
| 89 | ||
| 90 | return $this->$name; |
|
| 91 | } |
|