public function getDefaultOption($keyOrPath = null) { return $keyOrPath === null ? $this->defaults : puzzle_get_path($this->defaults, $keyOrPath); }
/** * Get a value from the collection using a path syntax to retrieve nested * data. * * @param string $path Path to traverse and retrieve a value from * * @return mixed|null */ public function getPath($path) { return puzzle_get_path($this->data, $path); }