@@ 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 | } |
@@ 84-87 (lines=4) @@ | ||
81 | ||
82 | if (class_exists($class)) |
|
83 | { |
|
84 | if (false == isset($this->$name)) |
|
85 | { |
|
86 | $this->$name = new $class($this->options, $this->client); |
|
87 | } |
|
88 | ||
89 | return $this->$name; |
|
90 | } |