/**
  * @param Mapping $mapping
  *
  * @return array
  */
 protected function getPropertiesFromMapping(Mapping $mapping)
 {
     $properties = array_merge(array_combine($mapping->getProperties(), $mapping->getProperties()), $mapping->getAliasedProperties());
     return $properties;
 }
Пример #2
0
 public function testGetProperties()
 {
     $this->assertEquals([], $this->mapping->getProperties());
 }