public function setProtection($name, $isProtected)
    {
        $key = $this->getProtectionKey($name);

        $this->protection[$key] = (bool) $isProtected;
    }
public function setProtection($name, $isProtected)
    {
        $key = $this->getProtectionKey($name);

        $this->protection[$key] = (bool) $isProtected;
    }
public function setProtection ( $ name , $ isProtected ) { $ key = $ this -> getProtectionKey ( $ name ) ; $ this -> protection [ $ key ] = ( bool ) $ isProtected ; }
Sets the database's table name.

@param string $name
@param bool $isProtected

@return void
Sets the database s table name .