src/Ubiquity/controllers/rest/ResponseFormatter.php
public function getDatas($objects, &$classname = null) {
		$objects = \array_map ( function ($o) use (&$classname) {
			return $this->cleanRestObject ( $o, $classname );
		}, $objects );
		return \array_values ( $objects );
	}
public function getDatas($objects, &$classname = null) {
		$objects = \array_map ( function ($o) use (&$classname) {
			return $this->cleanRestObject ( $o, $classname );
		}, $objects );
		return \array_values ( $objects );
	}
public function getDatas ( $ objects , & $ classname = null ) { $ objects = \ array_map ( function ( $ o ) use ( & $ classname ) { return $ this -> cleanRestObject ( $ o , $ classname ) ; } , $ objects ) ; return \ array_values ( $ objects ) ; }
Returns an array of datas from an array of objects

@param array $objects
@param string $classname
@return array
Returns an array of datas from an array of objects