public function setDatabaseName($name = null)
    {
        if (empty($name) || !is_string($name)) {
            throw new \InvalidArgumentException(
                sprintf('Object database name is invalid! (must be a string, got "%s")', var_export($name,1))
            );
        }
        $this->object_database_name = $name;
        return $this;
    }
public function setDatabaseName($name = null)
    {
        if (empty($name) || !is_string($name)) {
            throw new \InvalidArgumentException(
                sprintf('Object database name is invalid! (must be a string, got "%s")', var_export($name,1))
            );
        }
        $this->object_database_name = $name;
        return $this;
    }
public function setDatabaseName ( $ name = null ) { if ( empty ( $ name ) || ! is_string ( $ name ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Object database name is invalid! (must be a string, got "%s")' , var_export ( $ name , 1 ) ) ) ; } $ this -> object_database_name = $ name ; return $ this ; }
Set the object database name
@param string $name The object database name to set
@return self Return the object for method chaining
Set the object database name