original_string: public function before_insert(Model $obj)
  	{
  		if ($this->_overwrite or empty($obj->{$this->_property}))
  		{
  			$obj->{$this->_property} = $this->_mysql_timestamp ? \Date::time()->format('mysql') : \Date::time()->get_timestamp();
  		}
  	}
code: public function before_insert(Model $obj)
  	{
  		if ($this->_overwrite or empty($obj->{$this->_property}))
  		{
  			$obj->{$this->_property} = $this->_mysql_timestamp ? \Date::time()->format('mysql') : \Date::time()->get_timestamp();
  		}
  	}
code_tokens: public function before_insert ( Model $ obj ) { if ( $ this -> _overwrite or empty ( $ obj -> { $ this -> _property } ) ) { $ obj -> { $ this -> _property } = $ this -> _mysql_timestamp ? \ Date :: time ( ) -> format ( 'mysql' ) : \ Date :: time ( ) -> get_timestamp ( ) ; } }
docstring: Set the CreatedAt property to the current time.
  
  @param  Model  Model object subject of this observer method
docstring_tokens: Set the CreatedAt property to the current time .