original_string: 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);
  	}
code: 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);
  	}
code_tokens: 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 ) ; }
docstring: Returns a new Manager instance
  @param string $classname
  @throws \InvalidArgumentException
  @return \eMapper\ORM\Manager
docstring_tokens: Returns a new Manager instance