updateType() abstract public method

Update a type with $updateStruct.
abstract public updateType ( mixed $typeId, integer $status, eZ\Publish\SPI\Persistence\Content\Type\UpdateStruct $updateStruct )
$typeId mixed
$status integer
$updateStruct eZ\Publish\SPI\Persistence\Content\Type\UpdateStruct
 /**
  * @param mixed $typeId
  * @param int $status
  * @param \eZ\Publish\SPI\Persistence\Content\Type\UpdateStruct $contentType
  *
  * @return Type
  */
 public function update( $typeId, $status, UpdateStruct $contentType )
 {
     $this->contentTypeGateway->updateType(
         $typeId, $status, $contentType
     );
     return $this->load(
         $typeId, $status
     );
 }
 /**
  * Update a type with $updateStruct.
  *
  * @param mixed $typeId
  * @param int $status
  * @param \eZ\Publish\SPI\Persistence\Content\Type\UpdateStruct $updateStruct
  */
 public function updateType($typeId, $status, UpdateStruct $updateStruct)
 {
     try {
         return $this->innerGateway->updateType($typeId, $status, $updateStruct);
     } catch (DBALException $e) {
         throw new RuntimeException('Database error', 0, $e);
     } catch (PDOException $e) {
         throw new RuntimeException('Database error', 0, $e);
     }
 }