public function setGroup($value)
    {
        // Is this an instance of ProjectGroup?
        if ($value instanceof \PHPCI\Model\ProjectGroup) {
            return $this->setGroupObject($value);
        }

        // Is this an array representing a ProjectGroup item?
        if (is_array($value) && !empty($value['id'])) {
            return $this->setGroupId($value['id']);
        }

        // Is this a scalar value representing the ID of this foreign key?
        return $this->setGroupId($value);
    }
public function setGroup($value)
    {
        // Is this an instance of ProjectGroup?
        if ($value instanceof \PHPCI\Model\ProjectGroup) {
            return $this->setGroupObject($value);
        }

        // Is this an array representing a ProjectGroup item?
        if (is_array($value) && !empty($value['id'])) {
            return $this->setGroupId($value['id']);
        }

        // Is this a scalar value representing the ID of this foreign key?
        return $this->setGroupId($value);
    }
public function setGroup ( $ value ) { // Is this an instance of ProjectGroup? if ( $ value instanceof \ PHPCI \ Model \ ProjectGroup ) { return $ this -> setGroupObject ( $ value ) ; } // Is this an array representing a ProjectGroup item? if ( is_array ( $ value ) && ! empty ( $ value [ 'id' ] ) ) { return $ this -> setGroupId ( $ value [ 'id' ] ) ; } // Is this a scalar value representing the ID of this foreign key? return $ this -> setGroupId ( $ value ) ; }
Set Group - Accepts an ID, an array representing a ProjectGroup or a ProjectGroup model.

@param $value mixed
Set Group - Accepts an ID an array representing a ProjectGroup or a ProjectGroup model .