Ejemplo n.º 1
0
 /**
  * Wakeup from serialization
  *
  * Reflection needs explicit instantiation to work correctly. Re-instantiate
  * reflection object on wakeup.
  *
  * @return void
  */
 public function __wakeup()
 {
     $this->_classReflection = new ReflectionClass(new \ReflectionClass($this->_class), $this->getNamespace(), $this->getInvokeArguments());
     $this->_reflection = new \ReflectionMethod($this->_classReflection->getName(), $this->getName());
 }