src/ORM/Collection.php
public function map(callable $callback)
	{
		$keys = array_keys($this->members);
		$members = array_map($callback, $this->members, $keys);
		return new static(array_combine($keys, $members));
	}
public function map(callable $callback)
	{
		$keys = array_keys($this->members);
		$members = array_map($callback, $this->members, $keys);
		return new static(array_combine($keys, $members));
	}
public function map ( callable $ callback ) { $ keys = array_keys ( $ this -> members ) ; $ members = array_map ( $ callback , $ this -> members , $ keys ) ; return new static ( array_combine ( $ keys , $ members ) ) ; }
Run a map over each of the members.

@link	http://php.net/manual/en/function.array-map.php

@param  callable  $callback
@return static
Run a map over each of the members .