src/Apps/Maximal/MaximalApplication.php
public function container($name)
    {
        if (!isset($this->container[$name])) {
            $this->container[$name] = IOC::resolve($name);
        }

        return $this->container[$name];
    }
public function container($name)
    {
        if (!isset($this->container[$name])) {
            $this->container[$name] = IOC::resolve($name);
        }

        return $this->container[$name];
    }
public function container ( $ name ) { if ( ! isset ( $ this -> container [ $ name ] ) ) { $ this -> container [ $ name ] = IOC :: resolve ( $ name ) ; } return $ this -> container [ $ name ] ; }
Gets an object from the container
Resolves it through IOC if that didn't happen yet

@param $name

@return mixed
Gets an object from the container Resolves it through IOC if that didn t happen yet