atk4\data\Persistence::atomic PHP 메소드

atomic() 공개 메소드

Atomic executes operations within one begin/end transaction. Not all persistences will support atomic operations, so by default we just don't do anything.
public atomic ( callable $f ) : mixed
$f callable
리턴 mixed
    public function atomic($f)
    {
        return call_user_func($f);
    }