eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway::deleteObjectStateLinks PHP Method

    public abstract function deleteObjectStateLinks($stateId);

Usage Example

 /**
  * Deletes object state links identified by $stateId.
  *
  * @param int $stateId
  */
 public function deleteObjectStateLinks($stateId)
 {
     try {
         return $this->innerGateway->deleteObjectStateLinks($stateId);
     } catch (DBALException $e) {
         throw new RuntimeException('Database error', 0, $e);
     } catch (PDOException $e) {
         throw new RuntimeException('Database error', 0, $e);
     }
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\Content\ObjectState\Gateway::deleteObjectStateLinks