Author: Victor Bocharsky (bocharsky.bw@gmail.com)
Inheritance: implements ArrayAcces\ArrayAccess, implements Arrayzy\Interfaces\ConvertibleInterface, implements Countabl\Countable, implements Arrayzy\Interfaces\DebuggableInterface, implements IteratorAggregat\IteratorAggregate, implements Arrayzy\Interfaces\ModifiableInterface, implements Arrayzy\Interfaces\SortableInterface, implements Arrayzy\Interfaces\TraversableInterface, use trait Arrayzy\Traits\ConvertibleTrait, use trait Arrayzy\Traits\DebuggableTrait, use trait Arrayzy\Traits\ModifiableTrait, use trait Arrayzy\Traits\TraversableTrait
Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  *
  * @link http://php.net/manual/en/function.ksort.php
  * @link http://php.net/manual/en/function.krsort.php
  */
 public function sortKeys($order = SORT_ASC, $strategy = SORT_REGULAR)
 {
     parent::sortingKeys($this->elements, $order, $strategy);
     return $this;
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  *
  * @link http://php.net/manual/en/function.ksort.php
  * @link http://php.net/manual/en/function.krsort.php
  */
 public function sortKeys($order = SORT_ASC, $strategy = SORT_REGULAR)
 {
     $elements = $this->elements;
     parent::sortingKeys($elements, $order, $strategy);
     return new static($elements);
 }