public function make(string $type)
    {
        if (isset($this->iocContainerArray[$type])) {
            $type = $this->iocContainerArray[$type];

            return $type();
        }
        throw new ClientException('No type registered with that name');
    }
public function make(string $type)
    {
        if (isset($this->iocContainerArray[$type])) {
            $type = $this->iocContainerArray[$type];

            return $type();
        }
        throw new ClientException('No type registered with that name');
    }
public function make ( string $ type ) { if ( isset ( $ this -> iocContainerArray [ $ type ] ) ) { $ type = $ this -> iocContainerArray [ $ type ] ; return $ type ( ) ; } throw new ClientException ( 'No type registered with that name' ) ; }
Make method for the IOC Container

@param string $type

@throws ClientException
@return mixed
Make method for the IOC Container