You are here

public function Model::toArray in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Tests/SerializerTest.php \Symfony\Component\Serializer\Tests\Model::toArray()

File

vendor/symfony/serializer/Tests/SerializerTest.php, line 263

Class

Model

Namespace

Symfony\Component\Serializer\Tests

Code

public function toArray() {
  return array(
    'title' => $this->title,
    'numbers' => $this->numbers,
  );
}