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