public function setEditGroups( $groups )
    {
        $this->editGroups = array_unique(
            is_array( $groups ) ? $groups : preg_split( '/[,\s]+/', $groups )
        );

        return $this;
    }
public function setEditGroups( $groups )
    {
        $this->editGroups = array_unique(
            is_array( $groups ) ? $groups : preg_split( '/[,\s]+/', $groups )
        );

        return $this;
    }
public function setEditGroups ( $ groups ) { $ this -> editGroups = array_unique ( is_array ( $ groups ) ? $ groups : preg_split ( '/[,\s]+/' , $ groups ) ) ; return $ this ; }
Set edit groups

@param   array|string $groups
@return  \Grid\Paragraph\Model\Paragraph\Structure\Content
Set edit groups