concrete/src/Permission/Key/ConversationKey.php
public function getPermissionAssignmentObject()
    {
        $targ = Core::make('\Concrete\Core\Permission\Assignment\ConversationAssignment');
        if (is_object($this->permissionObject)) {
            $targ->setPermissionObject($this->permissionObject);
        }
        $targ->setPermissionKeyObject($this);

        return $targ;
    }
public function getPermissionAssignmentObject()
    {
        $targ = Core::make('\Concrete\Core\Permission\Assignment\ConversationAssignment');
        if (is_object($this->permissionObject)) {
            $targ->setPermissionObject($this->permissionObject);
        }
        $targ->setPermissionKeyObject($this);

        return $targ;
    }
public function getPermissionAssignmentObject ( ) { $ targ = Core :: make ( '\Concrete\Core\Permission\Assignment\ConversationAssignment' ) ; if ( is_object ( $ this -> permissionObject ) ) { $ targ -> setPermissionObject ( $ this -> permissionObject ) ; } $ targ -> setPermissionKeyObject ( $ this ) ; return $ targ ; }
We need this because we don't always have a permission object
We need this because we don t always have a permission object