Lines Matching defs:key
25 const DATA_KEY = 'key';
46 * @var array key stack for objects
48 protected $key = [];
106 * @param array $data Associative array where key is the name of the @data variable and value is the value.
118 * Push a Key onto the key stack
120 * @param string $key Key of the current object property.
124 public function pushKey($key)
126 array_push($this->key, $key);
164 * Pop the last key from the stack.
166 * @return string Last key
170 return array_pop($this->key);
194 * Get the key of current object property.
196 * @return mixed Last key
200 return end($this->key);