<?php /* * Copyright 2012 Johannes M. Schmitt <schmittjoh@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace PhpCollection; class Map extends AbstractMap implements SortableInterface { public function sortWith($callable) { uksort($this->elements, $callable); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ObjectBasicsHandler | Folder | 0755 |
|
|
AbstractCollection.php | File | 1.31 KB | 0644 |
|
AbstractMap.php | File | 7.02 KB | 0644 |
|
AbstractSequence.php | File | 8.88 KB | 0644 |
|
CollectionInterface.php | File | 2.71 KB | 0644 |
|
EntityLikeObject.php | File | 431 B | 0644 |
|
Map.php | File | 818 B | 0644 |
|
MapInterface.php | File | 4.14 KB | 0644 |
|
ObjectBasics.php | File | 1.26 KB | 0644 |
|
ObjectBasicsHandler.php | File | 673 B | 0644 |
|
ObjectBasicsHandlerRegistry.php | File | 2.73 KB | 0644 |
|
Sequence.php | File | 1.09 KB | 0644 |
|
SequenceInterface.php | File | 5.75 KB | 0644 |
|
Set.php | File | 12.42 KB | 0644 |
|
SetInterface.php | File | 3.12 KB | 0644 |
|
SortableInterface.php | File | 836 B | 0644 |
|
SortedSequence.php | File | 2.77 KB | 0644 |
|