Could somebody explain this to me, i kind of understand this but i dont really get it:
I keep seeing $this around, but i havent a clue where that is set
eg: $this->edible = $edible;
What does the -> mean ? I think its actually setting $this to edible, am i wrong ?
Why are classes used? Because if this:
$this->block_name = $block[block_name];
isnt it rather pointless? (in this case)
Im kind of going in circles here, trying to work it out.
What is like the main difference between functions and classes?