示例#1
0
 /**
  * Access to undeclared property.
  * @param  string  property name
  * @return void
  * @throws MemberAccessException
  */
 public function __unset($name)
 {
     XApp_ObjectMixin::remove($this, $name);
 }
示例#2
0
 /**
  * @param $path
  * @return object|XApp_XIDE_WorkbenchState
  */
 public function getWorkbenchState($path)
 {
     xapp_import('xapp.Commons.ObjectMixin');
     $wbstateData = (object) XApp_Utils_JSONUtils::read_json($path, 'json', false, true);
     $wbStateInstance = new XApp_XIDE_WorkbenchState();
     $wbStateInstance = (object) XApp_ObjectMixin::merge($wbStateInstance, $wbstateData);
     return $wbStateInstance;
 }