Example #1
0
 /**
  * Access to undeclared property.
  * @param  string  property name
  * @return void
  * @throws MemberAccessException
  */
 public function __unset($name)
 {
     XApp_ObjectMixin::remove($this, $name);
 }
Example #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;
 }