public function mapperFor($subject)
    {
        $class = $this->initialize($subject);

        if(!isset($this->_mappers[$class]))
            throw new Exception("No mapper registered for $class");

        return $this->_mappers[$class];
    }
public function mapperFor($subject)
    {
        $class = $this->initialize($subject);

        if(!isset($this->_mappers[$class]))
            throw new Exception("No mapper registered for $class");

        return $this->_mappers[$class];
    }
public function mapperFor ( $ subject ) { $ class = $ this -> initialize ( $ subject ) ; if ( ! isset ( $ this -> _mappers [ $ class ] ) ) throw new Exception ( "No mapper registered for $class" ) ; return $ this -> _mappers [ $ class ] ; }
Looks up a mapper for either an object or a classname
@return Mapper
Looks up a mapper for either an object or a classname