public final function setFetchObject(string $fetchObject): void
    {
        if (!class_exists($fetchObject)) {
            throw new InvalidValueException("Fetch object class '{$fetchObject}' not found!");
        }

        $this->fetchObject = $fetchObject;
    }
public final function setFetchObject(string $fetchObject): void
    {
        if (!class_exists($fetchObject)) {
            throw new InvalidValueException("Fetch object class '{$fetchObject}' not found!");
        }

        $this->fetchObject = $fetchObject;
    }
public final function setFetchObject ( string $ fetchObject ) : void { if ( ! class_exists ( $ fetchObject ) ) { throw new InvalidValueException ( "Fetch object class '{$fetchObject}' not found!" ) ; } $ this -> fetchObject = $ fetchObject ; }
Set fetch object.
@param  string $fetchObject
@return void
@throws Oppa\Exception\InvalidValueException
Set fetch object .