Esempio n. 1
0
 /**
  * Removes a ParseObject or an array of ParseObjects from this relation.
  *
  * @param mixed $objects The item or items to remove.
  */
 public function remove($objects)
 {
     if (!is_array($objects)) {
         $objects = [$objects];
     }
     $operation = new ParseRelationOperation(null, $objects);
     $this->targetClassName = $operation->_getTargetClass();
     $this->parent->_performOperation($this->key, $operation);
 }