示例#1
0
 public function testFromArguments()
 {
     $map = CMapObject::fromArguments([["one" => "a", "two" => "b", "three" => "c"]]);
     $this->assertTrue($map->equals(m(["one" => "a", "two" => "b", "three" => "c"])));
 }
示例#2
0
/**
 * @ignore
 */
function m()
{
    return CMapObject::fromArguments(func_get_args());
}