Overview

Namespaces

  • Knot
    • Dict
      • Helpers
    • Exceptions
  • None

Classes

  • Knot\Dict
  • Knot\Dict\AbstractDictBody
  • Knot\Dict\ChildDict
  • Knot\Dict\HelperManager
  • Knot\Dict\Helpers\AbstractPHPArrayHelper
  • Knot\Dict\Helpers\PHPArrayChangerHelper
  • Knot\Dict\Helpers\PHPArrayEqualizerHelper
  • Knot\Dict\Helpers\UnderscoreHelper
  • Knot\Dict\ParentDict

Interfaces

  • Knot\Dict\Helpers\HelperInterface

Traits

  • Knot\Dict\ArrayAccessTrait
  • Knot\Dict\CountableTrait
  • Knot\Dict\IteratorAggregateTrait
  • Knot\Dict\PathOperationsTrait

Exceptions

  • Knot\Exceptions\FunctionExecuteException
  • Knot\Exceptions\WrongArrayPathException
  • Knot\Exceptions\WrongFunctionException

Functions

  • ar
  • arr
  • arrRef
  • is_dict
  • Overview
  • Namespace
  • Class
 1: <?php namespace Knot\Dict;
 2: 
 3: use Knot\Dict;
 4: 
 5: class ChildDict extends Dict {
 6: 
 7:     /**
 8:      * @return self
 9:      */
10:     public function kill()
11:     {
12:         $this->parentArray->del($this->path());
13:         $this->data = [ ];
14: 
15:         return $this;
16:     }
17: 
18: 
19:     /**
20:      * @return ParentDict
21:      */
22:     public function parent()
23:     {
24:         return $this->parentArray;
25:     }
26: 
27: 
28:     /**
29:      * In ChildArray's child's parent is parent array.
30:      *
31:      * @return ParentDict
32:      */
33:     public function childParent()
34:     {
35:         return $this->parentArray;
36:     }
37: }
38: 
API documentation generated by ApiGen