src/Architect.php
private function resolveMode($mode)
    {
        if (!isset($this->modeResolers[$mode])) {
            $this->modeResolvers[$mode] = $this->createModeResolver($mode);
        }

        return $this->modeResolvers[$mode];
    }
private function resolveMode($mode)
    {
        if (!isset($this->modeResolers[$mode])) {
            $this->modeResolvers[$mode] = $this->createModeResolver($mode);
        }

        return $this->modeResolvers[$mode];
    }
private function resolveMode ( $ mode ) { if ( ! isset ( $ this -> modeResolers [ $ mode ] ) ) { $ this -> modeResolvers [ $ mode ] = $ this -> createModeResolver ( $ mode ) ; } return $ this -> modeResolvers [ $ mode ] ; }
Resolve a mode resolver class if it has not been resolved before
@param  string $mode The mode to be resolved
@return Optimus\Architect\ModeResolver\ModeResolverInterface
Resolve a mode resolver class if it has not been resolved before