public function TestObjectMetadata::getFieldNames

A numerically indexed list of field names of this persistent class.

This array includes identifier fields if present on this class.

Return value

array

Overrides ClassMetadata::getFieldNames

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php, line 172

Class

TestObjectMetadata

Namespace

Doctrine\Tests\Common\Persistence

Code

public function getFieldNames() {
  return array(
    'id',
    'name',
  );
}