Atrauzzi\LaravelDoctrine\Util\Time::prePersist PHP 메소드

prePersist() 공개 메소드

public prePersist ( )
    public function prePersist()
    {
        $now = new Datetime();
        $this->createdAt = $now;
        $this->updatedAt = $now;
    }