You are here

public function TestObjectMetadata::getFieldNames in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php \Doctrine\Tests\Common\Persistence\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

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',
  );
}