public function add($objects)
    {
        if (!is_array($objects))
        {
            $objects = [$objects];
        }
        $operation = new AVRelationOperation($objects, null);
        $this->targetClassName = $operation->_getTargetClass();
        $this->parent->_performOperation($this->key, $operation);
    }
public function add($objects)
    {
        if (!is_array($objects))
        {
            $objects = [$objects];
        }
        $operation = new AVRelationOperation($objects, null);
        $this->targetClassName = $operation->_getTargetClass();
        $this->parent->_performOperation($this->key, $operation);
    }
public function add ( $ objects ) { if ( ! is_array ( $ objects ) ) { $ objects = [ $ objects ] ; } $ operation = new AVRelationOperation ( $ objects , null ) ; $ this -> targetClassName = $ operation -> _getTargetClass ( ) ; $ this -> parent -> _performOperation ( $ this -> key , $ operation ) ; }
Adds a AVObject or an array of AVObjects to the relation.

@param mixed $objects The item or items to add.
Adds a AVObject or an array of AVObjects to the relation .