pgb_liv\php_ms\Core\Modification::setAccession

Sets the accession for this modification.

Recommended for use when interacting with HUPO-PSI formats.

Signature

public function setAccession(string $accession )

Parameters

$accession — string

The accession value to set

Test Coverage

Information

  • Coverage: 2/2 Lines (100%)
  • Tests: 1
  • Passed: 1 (100%)

Tests

  • [ PASSED ] — pgb_liv\php_ms\Test\Unit\ModificationTest::testObjectCanGetSetAccession