public function setUserClassName($className)
    {
        try {
            \Parable\DI\Container::create($className);
        } catch (\Exception $e) {
            throw new \Parable\Framework\Exception("Class '{$className}' could not be instantiated.");
        }

        $this->userClassName = $className;
        return $this;
    }
public function setUserClassName($className)
    {
        try {
            \Parable\DI\Container::create($className);
        } catch (\Exception $e) {
            throw new \Parable\Framework\Exception("Class '{$className}' could not be instantiated.");
        }

        $this->userClassName = $className;
        return $this;
    }
public function setUserClassName ( $ className ) { try { \ Parable \ DI \ Container :: create ( $ className ) ; } catch ( \ Exception $ e ) { throw new \ Parable \ Framework \ Exception ( "Class '{$className}' could not be instantiated." ) ; } $ this -> userClassName = $ className ; return $ this ; }
Set the class name to use for the user.

@param string $className

@return $this
@throws \Parable\Framework\Exception
Set the class name to use for the user .