Answer the question
In order to leave comments, you need to log in
What is the essence of the design and how is this possible?
Good afternoon. Absolutely stupid question, but not out of my head.
I am picking the source code of Slim Framework. Found the design:
$this->container = new \Slim\Helper\Set();
$this->container['settings'] = array_merge(static::getDefaultSettings(), $userSettings);
Answer the question
In order to leave comments, you need to log in
class Set implements \ArrayAccess, \Countable, \IteratorAggregate
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question