protected function setTimestampConfig()
    {
        $timestamp = $this->config["database.timestamp"];
        $this->timestamps = $this->timestamps === null
            ? ($timestamp["enabled"] ?? false)
            : $this->timestamps;
        $this->createdColumn = $this->createdColumn ?: ($timestamp["createdColumn"] ?? "created_at");
        $this->updatedColumn = $this->updatedColumn ?: ($timestamp["updatedColumn"] ?? "updated_at");
        $this->timestampFunction = $this->timestampFunction ?: ($timestamp["function"] ?? "NOW()");
    }
protected function setTimestampConfig()
    {
        $timestamp = $this->config["database.timestamp"];
        $this->timestamps = $this->timestamps === null
            ? ($timestamp["enabled"] ?? false)
            : $this->timestamps;
        $this->createdColumn = $this->createdColumn ?: ($timestamp["createdColumn"] ?? "created_at");
        $this->updatedColumn = $this->updatedColumn ?: ($timestamp["updatedColumn"] ?? "updated_at");
        $this->timestampFunction = $this->timestampFunction ?: ($timestamp["function"] ?? "NOW()");
    }
protected function setTimestampConfig ( ) { $ timestamp = $ this -> config [ "database.timestamp" ] ; $ this -> timestamps = $ this -> timestamps === null ? ( $ timestamp [ "enabled" ] ?? false ) : $ this -> timestamps ; $ this -> createdColumn = $ this -> createdColumn ? : ( $ timestamp [ "createdColumn" ] ?? "created_at" ) ; $ this -> updatedColumn = $ this -> updatedColumn ? : ( $ timestamp [ "updatedColumn" ] ?? "updated_at" ) ; $ this -> timestampFunction = $ this -> timestampFunction ? : ( $ timestamp [ "function" ] ?? "NOW()" ) ; }
Set Timestamp Config

Sets the timestamp configuration to the class properties. Any previously
user set values to the configuration properties are not overwritten.

@return void
Set Timestamp Config