Pheasant::register PHP Method

register() public method

Register a mapper for a class, also registers the mapper as a finder
public register ( $class, $mapper )
    public function register($class, $mapper)
    {
        return $this->registerMapper($class, $mapper)->registerFinder($class, $mapper);
    }