public function executeFor($id, Closure $callback): void
    {
        $callback(
            $this->newQuery()->findOrFail($id)
        );
    }
public function executeFor($id, Closure $callback): void
    {
        $callback(
            $this->newQuery()->findOrFail($id)
        );
    }
public function executeFor ( $ id , Closure $ callback ) : void { $ callback ( $ this -> newQuery ( ) -> findOrFail ( $ id ) ) ; }
Execute query by id.

@param  int|string  $id
@param  \Closure  $callback

@return void
Execute query by id .