public function newManager($classname) {
		$profile = Profiler::getClassProfile($classname);
		if (!$profile->isEntity())
			throw new \InvalidArgumentException(sprintf("Class %s is not declared as an entity", $profile->reflectionClass->getName()));
		return new Manager($this, $profile);
	}
public function newManager($classname) {
		$profile = Profiler::getClassProfile($classname);
		if (!$profile->isEntity())
			throw new \InvalidArgumentException(sprintf("Class %s is not declared as an entity", $profile->reflectionClass->getName()));
		return new Manager($this, $profile);
	}
public function newManager ( $ classname ) { $ profile = Profiler :: getClassProfile ( $ classname ) ; if ( ! $ profile -> isEntity ( ) ) throw new \ InvalidArgumentException ( sprintf ( "Class %s is not declared as an entity" , $ profile -> reflectionClass -> getName ( ) ) ) ; return new Manager ( $ this , $ profile ) ; }
Returns a new Manager instance
@param string $classname
@throws \InvalidArgumentException
@return \eMapper\ORM\Manager
Returns a new Manager instance