flight/core/Loader.php
public function getInstance($name) {
        return isset($this->instances[$name]) ? $this->instances[$name] : null;
    }
public function getInstance($name) {
        return isset($this->instances[$name]) ? $this->instances[$name] : null;
    }
Gets a single instance of a class.

@param string $name Instance name
@return object Class instance