[Form] Removed call to deprecated method

This commit is contained in:
Bernhard Schussek 2013-08-22 14:18:47 +02:00
parent 878e27cd99
commit b9a37703a6

View File

@ -35,7 +35,7 @@ class PropertyPathMapper implements DataMapperInterface
*/
public function __construct(PropertyAccessorInterface $propertyAccessor = null)
{
$this->propertyAccessor = $propertyAccessor ?: PropertyAccess::getPropertyAccessor();
$this->propertyAccessor = $propertyAccessor ?: PropertyAccess::createPropertyAccessor();
}
/**