Hey, i want to know how to read an array Example: I have this on my config.yml file: Code: person1: [10, 15, 13] Question: 1. I want to get that on my Main.php as array idk how to do it 2. Can i detect 10 is available or no on Main.php (detecting on array) 3. How to make array separate one another Thats it!
I am not sure about my code.... 1. PHP: $this->cfg = $this->getConfig()->getAll(); 2. PHP: $get10 = $this->cfg["person1"][10]; 3. PHP: $setcfg = this->cfg->set(["hi"]["first"], 1);